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 <[email protected]>
Signed-off-by: Zhenhua Luo <[email protected]>
---
 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)
-- 
2.4.11

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to