diff --git a/fsl-ppc/recipes-extended/testfloat/testfloat/ldflags.patch b/fsl-ppc/recipes-extended/testfloat/testfloat/ldflags.patch new file mode 100644 index 0000000..0994610 --- /dev/null +++ b/fsl-ppc/recipes-extended/testfloat/testfloat/ldflags.patch @@ -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) diff --git a/fsl-ppc/recipes-extended/testfloat/testfloat_2a.bbappend b/fsl-ppc/recipes-extended/testfloat/testfloat_2a.bbappend new file mode 100644 index 0000000..c213fda --- /dev/null +++ b/fsl-ppc/recipes-extended/testfloat/testfloat_2a.bbappend @@ -0,0 +1,2 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" +SRC_URI_append_fslmachine = " file://ldflags.patch"