From 6bd98e81d251fca5523856a90181b2b692ab4c9f Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Tue, 2 Sep 2014 15:56:25 -0700 Subject: hostap-utils: obey LDFLAGS (From OE-Core rev: 6b2395210e8c7fd7eb91fa78e043a811c3c0af3d) Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- .../hostap/hostap-utils-0.4.7/ldflags.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta/recipes-bsp/hostap/hostap-utils-0.4.7/ldflags.patch (limited to 'meta/recipes-bsp/hostap/hostap-utils-0.4.7/ldflags.patch') diff --git a/meta/recipes-bsp/hostap/hostap-utils-0.4.7/ldflags.patch b/meta/recipes-bsp/hostap/hostap-utils-0.4.7/ldflags.patch new file mode 100644 index 0000000000..c4655cf092 --- /dev/null +++ b/meta/recipes-bsp/hostap/hostap-utils-0.4.7/ldflags.patch @@ -0,0 +1,27 @@ +Obey LDFLAGS + +Signed-off-by: Christopher Larson +Upstream-status: Pending + +--- hostap-utils-0.4.7.orig/Makefile ++++ hostap-utils-0.4.7/Makefile +@@ -14,17 +14,17 @@ prism2_srec.o: prism2_srec.c util.h + hostap_crypt_conf: hostap_crypt_conf.c + + hostap_diag: hostap_diag.o util.o +- $(CC) -o hostap_diag $(CFLAGS) hostap_diag.o util.o ++ $(CC) -o hostap_diag $(CFLAGS) $(LDFLAGS) hostap_diag.o util.o + + hostap_diag.o: hostap_diag.c util.h + + util.o: util.c util.h + + hostap_io_debug: hostap_io_debug.c +- $(CC) -o hostap_io_debug $(CFLAGS) hostap_io_debug.c ++ $(CC) -o hostap_io_debug $(CFLAGS) $(LDFLAGS) hostap_io_debug.c + + hostap_rid: hostap_rid.o util.o +- $(CC) -o hostap_rid $(CFLAGS) hostap_rid.o util.o ++ $(CC) -o hostap_rid $(CFLAGS) $(LDFLAGS) hostap_rid.o util.o + + hostap_rid.o: hostap_rid.c util.h -- cgit v1.2.3-54-g00ecf