[oe-commits] Jeremy Lainé : zeroconf: use LDFLAGS (fixes QA error)

GIT User account git at amethyst.openembedded.net
Thu Apr 2 18:15:17 UTC 2009


Module: openembedded.git
Branch: stable/2009
Commit: 593caa19b955ca0968180d7cb261afe0fc10a412
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=593caa19b955ca0968180d7cb261afe0fc10a412

Author: Jeremy Lainé <jeremy.laine at m4x.org>
Date:   Thu Apr  2 02:58:02 2009 +0000

zeroconf: use LDFLAGS (fixes QA error)

Signed-off-by: Koen Kooi <koen at openembedded.org>
Acked-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>

---

 recipes/zeroconf/files/zeroconf-ldflags.patch |   12 ++++++++++++
 recipes/zeroconf/zeroconf_0.9.bb              |    3 ++-
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/recipes/zeroconf/files/zeroconf-ldflags.patch b/recipes/zeroconf/files/zeroconf-ldflags.patch
new file mode 100644
index 0000000..ba60569
--- /dev/null
+++ b/recipes/zeroconf/files/zeroconf-ldflags.patch
@@ -0,0 +1,12 @@
+diff -urN zeroconf-0.9.orig/Makefile zeroconf-0.9/Makefile
+--- zeroconf-0.9.orig/Makefile	2006-04-29 10:41:15.000000000 +0000
++++ zeroconf-0.9/Makefile	2009-04-02 09:27:38.000000000 +0000
+@@ -18,7 +18,7 @@
+ 
+ zeroconf: zeroconf.o delay.o
+ 	$(Q)echo "Creating $@"
+-	$(Q)$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
++	$(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
+ 
+ 
+ # Automatic dependency generation
diff --git a/recipes/zeroconf/zeroconf_0.9.bb b/recipes/zeroconf/zeroconf_0.9.bb
index 5c42237..2857247 100644
--- a/recipes/zeroconf/zeroconf_0.9.bb
+++ b/recipes/zeroconf/zeroconf_0.9.bb
@@ -5,10 +5,11 @@ LICENSE = "GPL"
 SECTION = "net"
 PRIORITY = "optional"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.progsoc.org/~wildfire/zeroconf/download/${PN}-${PV}.tar.gz \
 	   file://zeroconf-default \
+	   file://zeroconf-ldflags.patch;patch=1 \
 	   file://zeroconf-limits.h.patch;patch=1 \
 	   file://debian-zeroconf"
 





More information about the Openembedded-commits mailing list