testfloat: obey LDFLAGS

Quiets a GNU_HASH warning.

JIRA: SB-3120

Signed-off-by: Christopher Larson <kergoth@gmail.com>
This commit is contained in:
Christopher Larson
2014-06-23 10:41:06 -07:00
parent b54e2f2e0d
commit 54aa4e259d
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- TestFloat-2a/testfloat/powerpc-linux-gcc/Makefile
+++ TestFloat-2a/testfloat/powerpc-linux-gcc/Makefile
@@ -14,7 +14,7 @@ COMPILE_C_HARD = $(CC) -c -o $@ $(INCLUD
COMPILE_SLOWFLOAT_C = $(CC) -c -o $@ $(INCLUDES) -I- -O
-LINK = $(CC) -lm -o $@
+LINK = $(CC) -lm -o $@ $(LDFLAGS)
SOFTFLOAT_H = $(SOFTFLOAT_DIR)/softfloat.h
SOFTFLOAT_OBJ = $(SOFTFLOAT_DIR)/softfloat$(OBJ)

View File

@@ -0,0 +1,2 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
SRC_URI_append_fslmachine = " file://ldflags.patch"