summaryrefslogtreecommitdiff
path: root/scripts/build
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
parent2cdae6ce0274dc12f918854c87016d6cd1591501 (diff)
Merge first shot from the MIPS branch.
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/cc_core_gcc.sh1
-rw-r--r--scripts/build/cc_gcc.sh1
2 files changed, 2 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}"
diff --git a/scripts/build/cc_gcc.sh b/scripts/build/cc_gcc.sh
index 1ada512..31cbf6d 100644
--- a/scripts/build/cc_gcc.sh
+++ b/scripts/build/cc_gcc.sh
@@ -29,6 +29,7 @@ do_cc() {
extra_config="--enable-languages=${lang_opt}"
[ "${CT_ARCH_FLOAT_SW}" = "y" ] && extra_config="${extra_config} --with-float=soft"
[ "${CT_SHARED_LIBS}" = "y" ] || extra_config="${extra_config} --disable-shared"
+ [ -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}"