wireless-tools: Remove QA warning: No GNU_HASH in the elf binary

Handle LDFLAGS properly in the Makefile to remove warning:
QA Issue: No GNU_HASH in the elf binary

(From OE-Core rev: 32d5a2951338d838ed41b34b6b507c9b68e98fb2)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Muhammad Shakeel 2012-12-19 11:35:53 +05:00 committed by Richard Purdie
parent 716578c677
commit 1d55450664
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,22 @@
wireless-tools: Remove QA warning: No GNU_HASH in the elf binary
Upstream-Status: Inappropriate [other]
Useful within bitbake environment only.
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- wireless_tools.29.orig/Makefile
+++ wireless_tools.29/Makefile
@@ -144,7 +144,7 @@ wireless.h:
# Compilation of the dynamic library
$(DYNAMIC): $(OBJS:.o=.so)
- $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
+ $(CC) -shared -o $@ -Wl,-soname,$@ $(LDFLAGS) $(STRIPFLAGS) $(LIBS) -lc $^
# Compilation of the static library
$(STATIC): $(OBJS:.o=.so)

View File

@ -14,7 +14,8 @@ SRC_URI = "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.2
file://man.patch \
file://wireless-tools.if-pre-up \
file://zzz-wireless.if-pre-up \
file://avoid_strip.patch"
file://avoid_strip.patch \
file://ldflags.patch"
SRC_URI[md5sum] = "e06c222e186f7cc013fd272d023710cb"
SRC_URI[sha256sum] = "6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1"