diff options
author | Muhammad Shakeel <muhammad_shakeel@mentor.com> | 2012-12-19 11:35:53 +0500 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-12-25 14:00:20 -0800 |
commit | 32d5a2951338d838ed41b34b6b507c9b68e98fb2 (patch) | |
tree | 64e333dcee8df0b34be0c9f66149b94d83ecb66d /meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch | |
parent | 8d5fa8f26e4cc366ac566d3682bd74eb4578cc6d (diff) | |
download | openembedded-core-contrib-32d5a2951338d838ed41b34b6b507c9b68e98fb2.tar.gz |
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
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>
Diffstat (limited to 'meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch')
-rw-r--r-- | meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch b/meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch new file mode 100644 index 0000000000..6c0d8cbd2e --- /dev/null +++ b/meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch @@ -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) |