blob: a7424c39da4af4c12b88e4c2736f7ea1ff812248 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001libacpi: Remove QA warning: No GNU_HASH in the elf binary
2
3Upstream-Status: Inappropriate [other]
4 Useful within bitbake environment only.
5
6Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
7
8---
9 Makefile | 3 ++-
10 config.mk | 1 +
11 2 files changed, 3 insertions(+), 1 deletion(-)
12
13--- libacpi-0.2.orig/Makefile
14+++ libacpi-0.2/Makefile
15@@ -19,6 +19,7 @@ options:
16 @echo "CFLAGS = ${CFLAGS}"
17 @echo "CC = ${CC}"
18 @echo "SOFLAGS = ${SOFLAGS}"
19+ @echo "LDFLAGS = ${LDFLAGS}"
20 @echo "LD = ${LD}"
21
22 .c.o:
23@@ -34,7 +35,7 @@ libacpi.a: ${OBJ}
24
25 libacpi.so: ${OBJ}
26 @echo LD $@
27- @${CC} ${SOFLAGS} -o $@.${SOVERSION} ${OBJ}
28+ @${CC} ${SOFLAGS} ${LDFLAGS} -o $@.${SOVERSION} ${OBJ}
29
30 test-libacpi: ${OBJ_test}
31 @echo LD $@
32--- libacpi-0.2.orig/config.mk
33+++ libacpi-0.2/config.mk
34@@ -10,6 +10,7 @@ MANPREFIX = ${PREFIX}/share/man
35 SOFLAGS = -shared -Wl,-soname,${SONAME}
36 CFLAGS += -fPIC -g --pedantic -Wall -Wextra
37 ARFLAGS = cr
38+LDFLAGS =
39
40 # Compiler and linker
41 CC = cc