X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fat%2F0003-Makefile.in-add-LDFLAGS-to-linking-stage.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fat%2F0003-Makefile.in-add-LDFLAGS-to-linking-stage.patch;h=e1ab3d3766769105d2a001b0e0eacfede7cfcd34;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/at/0003-Makefile.in-add-LDFLAGS-to-linking-stage.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/at/0003-Makefile.in-add-LDFLAGS-to-linking-stage.patch new file mode 100644 index 0000000..e1ab3d3 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/at/0003-Makefile.in-add-LDFLAGS-to-linking-stage.patch @@ -0,0 +1,38 @@ +From 8720a71757f3626bf3bbc3a7aa2185e6387e5689 Mon Sep 17 00:00:00 2001 +From: Marc Kleine-Budde +Date: Tue, 1 Dec 2009 20:37:31 +0100 +Subject: [PATCH 3/5] Makefile.in: add LDFLAGS to linking stage + +The linking stage ignores the LDFLAGS, this breaks if the flex library +lives in a non standard location. + +This patch add LDFLAGS to both "at" and "atd" linking stage. + +Signed-off-by: Marc Kleine-Budde +--- + Makefile.in | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index dae6b7d..b766bbb 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -65,13 +65,13 @@ LIST = Filelist Filelist.asc + all: at atd atrun + + at: $(ATOBJECTS) +- $(CC) $(CFLAGS) -o at $(ATOBJECTS) $(LIBS) $(LEXLIB) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o at $(ATOBJECTS) $(LIBS) $(LEXLIB) + rm -f $(CLONES) + $(LN_S) -f at atq + $(LN_S) -f at atrm + + atd: $(RUNOBJECTS) +- $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB) + + y.tab.c y.tab.h: parsetime.y + $(YACC) -d parsetime.y +-- +1.6.5.3 +