summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-01-16 21:51:18 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-01-16 21:51:18 (GMT)
commit72e58fb2a305d37fb7180b615ec52371d88caf58 (patch)
tree6e3ff24a14813535d420964d61dbfea291884ff1
parent3f9386c0a74cc5db0dc0c0966717308d6b9b7630 (diff)
Fix a long standing bug when setting compiler flags.
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 164c456..6ec2173 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -517,7 +517,7 @@ CT_DoBuildTargetTuple() {
[ "${CT_ARCH_CPU}" ] && { CT_ARCH_CPU_CFLAG="-mcpu=${CT_ARCH_CPU}"; CT_ARCH_WITH_CPU="--with-cpu=${CT_ARCH_CPU}"; }
[ "${CT_ARCH_TUNE}" ] && { CT_ARCH_TUNE_CFLAG="-mtune=${CT_ARCH_TUNE}"; CT_ARCH_WITH_TUNE="--with-tune=${CT_ARCH_TUNE}"; }
[ "${CT_ARCH_FPU}" ] && { CT_ARCH_FPU_CFLAG="-mfpu=${CT_ARCH_FPU}"; CT_ARCH_WITH_FPU="--with-fpu=${CT_ARCH_FPU}"; }
- [ "${CT_ARCH_FLOAT_SW}" ] && { CT_ARCH_FPU_CFLAG="-msoft-float"; CT_ARCH_WITH_FLOAT="--with-float=soft"; }
+ [ "${CT_ARCH_FLOAT_SW}" ] && { CT_ARCH_FLOAT_CFLAG="-msoft-float"; CT_ARCH_WITH_FLOAT="--with-float=soft"; }
# Call the architecture specific settings
CT_DoArchValues