summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-05-15 20:55:46 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-05-15 20:55:46 (GMT)
commitba03986016718ae5902a5ac8233a3aad3f19a66d (patch)
tree61ae908de86427da9a8246bfd508a29e7dcb2057 /scripts/functions
parent109690e1e29f4b46ad5074315e988dfa69839568 (diff)
Backport #629 from trunk:
Fix building uClibc-based, soft-float toolchains by correctly setting float support in the uClibc config file. Correctly unset float CFLAGS and configure arguments before setting them. /branches/1.1/scripts/build/libc_uClibc.sh | 4 2 2 0 ++-- /branches/1.1/scripts/functions | 4 2 2 0 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions
index c4f739a..13fa159 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -517,8 +517,8 @@ CT_DoBuildTargetTuple() {
CT_KERNEL_ARCH="${CT_ARCH}"
# Set the default values for ARCH, ABI, CPU, TUNE, FPU and FLOAT
- unset CT_ARCH_ARCH_CFLAG CT_ARCH_ABI_CFLAG CT_ARCH_CPU_CFLAG CT_ARCH_TUNE_CFLAG CT_ARCH_FPU_CFLAG
- unset CT_ARCH_WITH_ARCH CT_ARCH_WITH_ABI CT_ARCH_WITH_CPU CT_ARCH_WITH_TUNE CT_ARCH_WITH_FPU
+ unset CT_ARCH_ARCH_CFLAG CT_ARCH_ABI_CFLAG CT_ARCH_CPU_CFLAG CT_ARCH_TUNE_CFLAG CT_ARCH_FPU_CFLAG CT_ARCH_FLOAT_CFLAG
+ unset CT_ARCH_WITH_ARCH CT_ARCH_WITH_ABI CT_ARCH_WITH_CPU CT_ARCH_WITH_TUNE CT_ARCH_WITH_FPU CT_ARCH_WITH_FLOAT
[ "${CT_ARCH_ARCH}" ] && { CT_ARCH_ARCH_CFLAG="-march=${CT_ARCH_ARCH}"; CT_ARCH_WITH_ARCH="--with-arch=${CT_ARCH_ARCH}"; }
[ "${CT_ARCH_ABI}" ] && { CT_ARCH_ABI_CFLAG="-mabi=${CT_ARCH_ABI}"; CT_ARCH_WITH_ABI="--with-abi=${CT_ARCH_ABI}"; }
[ "${CT_ARCH_CPU}" ] && { CT_ARCH_CPU_CFLAG="-mcpu=${CT_ARCH_CPU}"; CT_ARCH_WITH_CPU="--with-cpu=${CT_ARCH_CPU}"; }