[oe-commits] Christopher Larson : setserial: obey LDFLAGS
git at git.openembedded.org
git at git.openembedded.org
Mon Sep 22 12:05:36 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: aaebe0f814a031b06ba72bc9de8b5ec4dbf80f0a
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=aaebe0f814a031b06ba72bc9de8b5ec4dbf80f0a
Author: Christopher Larson <chris_larson at mentor.com>
Date: Tue Sep 2 15:55:31 2014 -0700
setserial: obey LDFLAGS
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
meta/recipes-bsp/setserial/setserial/ldflags.patch | 24 ++++++++++++++++++++++
meta/recipes-bsp/setserial/setserial_2.17.bb | 1 +
2 files changed, 25 insertions(+)
diff --git a/meta/recipes-bsp/setserial/setserial/ldflags.patch b/meta/recipes-bsp/setserial/setserial/ldflags.patch
new file mode 100644
index 0000000..4313d2c
--- /dev/null
+++ b/meta/recipes-bsp/setserial/setserial/ldflags.patch
@@ -0,0 +1,24 @@
+Obey LDFLAGS
+
+Signed-off-by: Christopher Larson <chris_larson at 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 f1e8cd3..8dbddd7 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"
More information about the Openembedded-commits
mailing list