]> code.ossystems Code Review - meta-freescale.git/commitdiff
testfloat: get rid of 'No GNU_HASH in the elf binary' warning
authorZhenhua Luo <zhenhua.luo@nxp.com>
Fri, 3 Jun 2016 07:49:30 +0000 (15:49 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 3 Jun 2016 11:46:44 +0000 (08:46 -0300)
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@mentor.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch

index 42de56d3898c57eeb182a00cf7d89b9c026da586..f2ff1c002728438ca1ba9a8b9bcaa6a8793662ab 100644 (file)
@@ -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)