summaryrefslogtreecommitdiff
path: root/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2018-06-08 20:46:03 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2018-11-17 14:59:47 +0100
commit46d1a0175c28aed234e628c325655d0ce787d4cc (patch)
treeb73bb8874d4466a810dafb293bf5f186d2845fe2 /recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch
parenteef7735e187473ec5338c853bbb0b3fae7df4795 (diff)
wireless-tools: re-add from openembedded-core
wireless-tools got removed from openembedded-core but the package libiw from the recipe is required for lxde panel. Re-add it here. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch')
-rw-r--r--recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch b/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch
new file mode 100644
index 0000000..6c0d8cb
--- /dev/null
+++ b/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)