summaryrefslogtreecommitdiff
path: root/scripts/build/cc_core_gcc.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-04-21 17:31:51 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-04-21 17:31:51 (GMT)
commitc1efc08c094baf0131555320d779b2ad0ca2f390 (patch)
treec3c42b02c7f30f1e744b18464ba93846f2eef85f /scripts/build/cc_core_gcc.sh
parent2cdae6ce0274dc12f918854c87016d6cd1591501 (diff)
Merge first shot from the MIPS branch.
Diffstat (limited to 'scripts/build/cc_core_gcc.sh')
-rw-r--r--scripts/build/cc_core_gcc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/cc_core_gcc.sh b/scripts/build/cc_core_gcc.sh
index b5fa46e..bcfd2dc 100644
--- a/scripts/build/cc_core_gcc.sh
+++ b/scripts/build/cc_core_gcc.sh
@@ -16,6 +16,7 @@ do_cc_core() {
extra_config=""
[ "${CT_ARCH_FLOAT_SW}" = "y" ] && extra_config="${extra_config} --with-float=soft"
+ [ -n "${CT_ARCH_ABI}" ] && extra_config="${extra_config} --with-abi=${CT_ARCH_ABI}"
[ -n "${CT_ARCH_CPU}" ] && extra_config="${extra_config} --with-cpu=${CT_ARCH_CPU}"
[ -n "${CT_ARCH_TUNE}" ] && extra_config="${extra_config} --with-tune=${CT_ARCH_TUNE}"
[ -n "${CT_ARCH_ARCH}" ] && extra_config="${extra_config} --with-arch=${CT_ARCH_ARCH}"