Skip to contentSkip to conversation

testfloat: get rid of 'No GNU_HASH in the elf binary' warning

PATCH New Sujith Haridasan 1 participant 1 message Apr 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 testfloat: get rid of 'No GNU_HASH in the elf binary' warning

From: Sujith H <[email protected]>

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

---
 recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch +1 -1
index 42de56d..f2ff1c0 100644
@@ -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)
Signature · 1 line
1.9.1