From f81619907ada320e33a7dfc99b4d164724756a9b Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 31 Dec 2013 18:24:21 +0100 Subject: [PATCH] gcc/arch/arm: fixed to also inject fpu optimisation when softfp float ABI is selected --- base/gcc/arch/options.arm.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/gcc/arch/options.arm.in b/base/gcc/arch/options.arm.in index 7ada2130c..45709d6a7 100644 --- a/base/gcc/arch/options.arm.in +++ b/base/gcc/arch/options.arm.in @@ -23,7 +23,7 @@ fi var_append GCC_WRAPPER_INSERT " " "-mfloat-abi=$SDECFG_ARM_FLOAT_ABI" -if [ "$SDECFG_ARM_FLOAT_ABI" == hard ]; then +if [ "$SDECFG_ARM_FLOAT_ABI" != soft ]; then var_append GCC_WRAPPER_INSERT " " "-mfpu=$SDECFG_ARM_FPU" fi