mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-04 06:54:36 +02:00
testfloat: obey LDFLAGS
Quiets a GNU_HASH warning. JIRA: SB-3120 Signed-off-by: Christopher Larson <kergoth@gmail.com>
This commit is contained in:
11
fsl-ppc/recipes-extended/testfloat/testfloat/ldflags.patch
Normal file
11
fsl-ppc/recipes-extended/testfloat/testfloat/ldflags.patch
Normal 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)
|
||||
2
fsl-ppc/recipes-extended/testfloat/testfloat_2a.bbappend
Normal file
2
fsl-ppc/recipes-extended/testfloat/testfloat_2a.bbappend
Normal file
@@ -0,0 +1,2 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
||||
SRC_URI_append_fslmachine = " file://ldflags.patch"
|
||||
Reference in New Issue
Block a user