diff options
author | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-04-08 09:04:53 +0000 |
---|---|---|
committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-04-08 09:04:53 +0000 |
commit | dbe77279e47eb71f089ab3865589784d25c728be (patch) | |
tree | 51e2372c0d53f4d20839f3d15f5fa0eb9446acb8 | |
parent | 10e6229075b013fc8afebb58c624c0ec8ba7badc (diff) |
hostap-daemon-0.6.9: add patch to use LDFLAGS (fixes QA error)
-rw-r--r-- | recipes/hostap/hostap-daemon-0.6.9/ldflags.patch | 17 | ||||
-rw-r--r-- | recipes/hostap/hostap-daemon_0.6.9.bb | 3 |
2 files changed, 19 insertions, 1 deletions
diff --git a/recipes/hostap/hostap-daemon-0.6.9/ldflags.patch b/recipes/hostap/hostap-daemon-0.6.9/ldflags.patch new file mode 100644 index 0000000000..3c470e736b --- /dev/null +++ b/recipes/hostap/hostap-daemon-0.6.9/ldflags.patch @@ -0,0 +1,17 @@ +diff -urN hostapd-0.6.9.orig/Makefile hostapd-0.6.9/hostapd/Makefile +--- hostapd-0.6.9.orig/Makefile 2009-03-23 14:06:28.000000000 +0000 ++++ hostapd-0.6.9/Makefile 2009-04-08 08:59:23.000000000 +0000 +@@ -555,11 +555,11 @@ + for i in $(ALL); do cp $$i /usr/local/bin/$$i; done + + hostapd: $(OBJS) +- $(CC) -o hostapd $(OBJS) $(LIBS) ++ $(CC) $(LDFLAGS) -o hostapd $(OBJS) $(LIBS) + + OBJS_c = hostapd_cli.o ../src/common/wpa_ctrl.o ../src/utils/os_$(CONFIG_OS).o + hostapd_cli: $(OBJS_c) +- $(CC) -o hostapd_cli $(OBJS_c) ++ $(CC) $(LDFLAGS) -o hostapd_cli $(OBJS_c) + + NOBJS = nt_password_hash.o ../src/crypto/ms_funcs.o ../src/crypto/sha1.o ../src/crypto/rc4.o ../src/crypto/md5.o + NOBJS += ../src/crypto/crypto_openssl.o ../src/utils/os_$(CONFIG_OS).o diff --git a/recipes/hostap/hostap-daemon_0.6.9.bb b/recipes/hostap/hostap-daemon_0.6.9.bb index 8e9aa5d328..01830c5841 100644 --- a/recipes/hostap/hostap-daemon_0.6.9.bb +++ b/recipes/hostap/hostap-daemon_0.6.9.bb @@ -4,11 +4,12 @@ SECTION = "kernel/userland" PRIORITY = "optional" LICENSE = "GPL" DEPENDS = "libnl openssl" -PR = "r1" +PR = "r2" DEFAULT_PREFERENCE = "-1" SRC_URI = "http://hostap.epitest.fi/releases/hostapd-${PV}.tar.gz \ + file://ldflags.patch;patch=1 \ file://defconfig \ file://init" |