diff options
author | 2020-03-30 09:24:26 +0900 | |
---|---|---|
committer | 2020-03-30 09:24:26 +0900 | |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /external/poky/meta/recipes-bsp/libacpi/files/ldflags.patch | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'external/poky/meta/recipes-bsp/libacpi/files/ldflags.patch')
-rw-r--r-- | external/poky/meta/recipes-bsp/libacpi/files/ldflags.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/external/poky/meta/recipes-bsp/libacpi/files/ldflags.patch b/external/poky/meta/recipes-bsp/libacpi/files/ldflags.patch new file mode 100644 index 00000000..a7424c39 --- /dev/null +++ b/external/poky/meta/recipes-bsp/libacpi/files/ldflags.patch @@ -0,0 +1,41 @@ +libacpi: 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 | 3 ++- + config.mk | 1 + + 2 files changed, 3 insertions(+), 1 deletion(-) + +--- libacpi-0.2.orig/Makefile ++++ libacpi-0.2/Makefile +@@ -19,6 +19,7 @@ options: + @echo "CFLAGS = ${CFLAGS}" + @echo "CC = ${CC}" + @echo "SOFLAGS = ${SOFLAGS}" ++ @echo "LDFLAGS = ${LDFLAGS}" + @echo "LD = ${LD}" + + .c.o: +@@ -34,7 +35,7 @@ libacpi.a: ${OBJ} + + libacpi.so: ${OBJ} + @echo LD $@ +- @${CC} ${SOFLAGS} -o $@.${SOVERSION} ${OBJ} ++ @${CC} ${SOFLAGS} ${LDFLAGS} -o $@.${SOVERSION} ${OBJ} + + test-libacpi: ${OBJ_test} + @echo LD $@ +--- libacpi-0.2.orig/config.mk ++++ libacpi-0.2/config.mk +@@ -10,6 +10,7 @@ MANPREFIX = ${PREFIX}/share/man + SOFLAGS = -shared -Wl,-soname,${SONAME} + CFLAGS += -fPIC -g --pedantic -Wall -Wextra + ARFLAGS = cr ++LDFLAGS = + + # Compiler and linker + CC = cc |