From c1efc08c094baf0131555320d779b2ad0ca2f390 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 21 Apr 2007 17:31:51 +0000 Subject: Merge first shot from the MIPS branch. --- scripts/build/cc_core_gcc.sh | 1 + scripts/build/cc_gcc.sh | 1 + 2 files changed, 2 insertions(+) (limited to 'scripts/build') diff --git a/scripts/build/cc_core_gcc.sh b/scripts/build/cc_core_gcc.sh index b5fa46ea..bcfd2dcd 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 1ada5126..31cbf6d4 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}" -- cgit v1.2.3