diff options
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 @@ | |||
1 | wireless-tools: Remove QA warning: No GNU_HASH in the elf binary | ||
2 | |||
3 | Upstream-Status: Inappropriate [other] | ||
4 | Useful within bitbake environment only. | ||
5 | |||
6 | Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> | ||
7 | |||
8 | --- | ||
9 | Makefile | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | --- wireless_tools.29.orig/Makefile | ||
13 | +++ wireless_tools.29/Makefile | ||
14 | @@ -144,7 +144,7 @@ wireless.h: | ||
15 | |||
16 | # Compilation of the dynamic library | ||
17 | $(DYNAMIC): $(OBJS:.o=.so) | ||
18 | - $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^ | ||
19 | + $(CC) -shared -o $@ -Wl,-soname,$@ $(LDFLAGS) $(STRIPFLAGS) $(LIBS) -lc $^ | ||
20 | |||
21 | # Compilation of the static library | ||
22 | $(STATIC): $(OBJS:.o=.so) | ||