[oe] [meta-oe][PATCH v2] testfloat: Fix No GNU_HASH in the elf binary warnings

Fahad Usman fahad_usman at mentor.com
Fri Aug 19 10:36:38 UTC 2016


These warnings are observed when testfloat is cross-compiled with certain
external toolchains.

Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
---
 .../testfloat/files/0002-Makefile-for-cross-compile-TestFloat.patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/testfloat/files/0002-Makefile-for-cross-compile-TestFloat.patch b/meta-oe/recipes-extended/testfloat/files/0002-Makefile-for-cross-compile-TestFloat.patch
index cc124b3..71ca343 100644
--- a/meta-oe/recipes-extended/testfloat/files/0002-Makefile-for-cross-compile-TestFloat.patch
+++ b/meta-oe/recipes-extended/testfloat/files/0002-Makefile-for-cross-compile-TestFloat.patch
@@ -79,7 +79,7 @@ index 0000000..a89326a
 +  ${CC} -c -Werror-implicit-function-declaration $(TESTFLOAT_OPTS) \
 +    $(C_INCLUDES) -O3 -o $@
 +MAKELIB = ${AR} crs $@
-+LINK = ${CC} -o $@
++LINK = ${CC} -o $@ ${LDFLAGS}
 +OTHER_LIBS = -lm
 +
 +OBJ = .o
-- 
2.8.1




More information about the Openembedded-devel mailing list