From dc8bdc872e7b03509463f3a4402db6df0062546f Mon Sep 17 00:00:00 2001 From: Muhammad Shakeel Date: Wed, 12 Dec 2012 16:35:41 +0500 Subject: libacpi: Remove QA warning: No GNU_HASH in the elf binary Handle LDFLAGS properly in the Makefile to remove warning: QA Issue: No GNU_HASH in the elf binary (From OE-Core rev: a24a5e5c9ede4275f7188935a9410b84d406ed19) Signed-off-by: Christopher Larson Signed-off-by: Muhammad Shakeel Signed-off-by: Richard Purdie --- meta/recipes-bsp/libacpi/files/ldflags.patch | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 meta/recipes-bsp/libacpi/files/ldflags.patch (limited to 'meta/recipes-bsp/libacpi/files') diff --git a/meta/recipes-bsp/libacpi/files/ldflags.patch b/meta/recipes-bsp/libacpi/files/ldflags.patch new file mode 100644 index 0000000000..a7424c39da --- /dev/null +++ b/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 + +--- + 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 -- cgit v1.2.3-54-g00ecf