aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/wireless-tools/wireless-tools/ldflags.patch
blob: 6c0d8cbd2e47154b2a0a326101b9d27db55b72b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)