diff options
author | Christopher Larson <chris_larson@mentor.com> | 2014-09-02 15:55:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-22 12:57:11 +0100 |
commit | aaebe0f814a031b06ba72bc9de8b5ec4dbf80f0a (patch) | |
tree | c2702fb0befcae678c990590745f8ac6b1485864 | |
parent | 3a006550fcc99af58fa5d933160f169e97c3a6de (diff) | |
download | openembedded-core-aaebe0f814a031b06ba72bc9de8b5ec4dbf80f0a.tar.gz openembedded-core-aaebe0f814a031b06ba72bc9de8b5ec4dbf80f0a.tar.bz2 openembedded-core-aaebe0f814a031b06ba72bc9de8b5ec4dbf80f0a.zip |
setserial: obey LDFLAGS
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
-rw-r--r-- | meta/recipes-bsp/setserial/setserial/ldflags.patch | 24 | ||||
-rw-r--r-- | meta/recipes-bsp/setserial/setserial_2.17.bb | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-bsp/setserial/setserial/ldflags.patch b/meta/recipes-bsp/setserial/setserial/ldflags.patch new file mode 100644 index 0000000000..4313d2c797 --- /dev/null +++ b/meta/recipes-bsp/setserial/setserial/ldflags.patch @@ -0,0 +1,24 @@ +Obey LDFLAGS + +Signed-off-by: Christopher Larson <chris_larson@mentor.com> +Upstream-status: Pending + +--- setserial-2.17.orig/Makefile.in ++++ setserial-2.17/Makefile.in +@@ -13,6 +13,7 @@ STRIP = @STRIP@ + CC = @CC@ + RM = rm -f + CFLAGS = @CFLAGS@ ++LDFLAGS = @LDFLAGS@ + DEFS = @DEFS@ + INCS = -I. + TAR = tar +@@ -20,7 +21,7 @@ TAR = tar + all: setserial setserial.cat + + setserial: setserial.c +- $(CC) $(CFLAGS) $(DEFS) $(INCS) setserial.c -o setserial ++ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) $(INCS) setserial.c -o setserial + + setserial.cat: setserial.8 + nroff -man setserial.8 > setserial.cat diff --git a/meta/recipes-bsp/setserial/setserial_2.17.bb b/meta/recipes-bsp/setserial/setserial_2.17.bb index f1e8cd3392..8dbddd7dc5 100644 --- a/meta/recipes-bsp/setserial/setserial_2.17.bb +++ b/meta/recipes-bsp/setserial/setserial_2.17.bb @@ -14,6 +14,7 @@ inherit autotools-brokensep SRC_URI = "${SOURCEFORGE_MIRROR}/setserial/${BPN}-${PV}.tar.gz \ file://add_stdlib.patch \ + file://ldflags.patch \ " SRC_URI[md5sum] = "c4867d72c41564318e0107745eb7a0f2" |