[meta-freescale] [meta-fsl-ppc][PATCH] testfloat: get rid of 'No GNU_HASH in the elf binary' warning

Sujith Haridasan sujith.h at gmail.com
Mon Apr 25 23:24:31 PDT 2016


From: Sujith H <sujith.h at gmail.com>

Remove the warning caused by external toolchain like sourcery.
When used with sourcery toolchain warning was thrown during
the build.

Signed-off-by: Sujith Haridasan <Sujith_Haridasan at mentor.com>
---
 recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch b/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch
index 42de56d..f2ff1c0 100644
--- a/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch
+++ b/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch
@@ -58,7 +58,7 @@ index de50aad..1a8b5f7 100644
 +COMPILE_SLOWFLOAT_C = $(CC) -c -o $@ $(INCLUDES) -I- -O
  
 -LINK = $(COMPILE_PREFIX)gcc -lm -o $@
-+LINK = $(CC) -lm -o $@
++LINK = $(CC) -lm -o $@ ${LDFLAGS}
  
  SOFTFLOAT_H = $(SOFTFLOAT_DIR)/softfloat.h
  SOFTFLOAT_OBJ = $(SOFTFLOAT_DIR)/softfloat$(OBJ)
-- 
1.9.1



More information about the meta-freescale mailing list