aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2015-07-07 13:23:15 -0600
committerRyan S. Arnold <ryan.arnold@linaro.org>2015-07-10 08:51:22 -0500
commit043c13b7fd5d31a3a56ae9b677b33f3cca759278 (patch)
tree5f5e119e2b1987edc50a214cee5b840b8c6d61ce
parent19a51b83562c4daf41cf53ca2ea15ad8ed1f8013 (diff)
Enable multilib for arm-eabi since newlib already supports it.
Leave multilib disabled for arm*-gnu targets since glibc doesn't support it. Change-Id: Id59311de7d2f7fcdb8b1689db2ed127009e0bc93
-rw-r--r--config/gcc.conf9
1 files changed, 3 insertions, 6 deletions
diff --git a/config/gcc.conf b/config/gcc.conf
index a6ef594e..fb48ed40 100644
--- a/config/gcc.conf
+++ b/config/gcc.conf
@@ -23,9 +23,6 @@ default_configure_flags="${default_configure_flags} --with-cloog=no --with-ppl=n
# nls is used for DNS
default_configure_flags="${default_configure_flags} --disable-nls"
-# enable multilib
-default_configure_flags="${default_configure_flags} --disable-multilib"
-
# C99 is the latest standard, and has improved numerics support, so we want it
# http://en.wikipedia.org/wiki/C99
default_configure_flags="${default_configure_flags} --enable-c99"
@@ -79,7 +76,7 @@ if test x"${build}" != x"${target}"; then
if test x"${override_arch}" = x -a x"${override_cpu}" = x; then
default_configure_flags="${default_configure_flags} --with-arch=armv7-a"
fi
- default_configure_flags="${default_configure_flags} --with-fpu=vfpv3-d16 --with-float=softfp --with-mode=thumb --enable-multiarch"
+ default_configure_flags="${default_configure_flags} --with-fpu=vfpv3-d16 --with-float=softfp --with-mode=thumb --disable-multilib --enable-multiarch"
;;
arm-*linux-gnueabihf)
if test x"${override_cpu}" = x -a x"${override_tune}" = x; then
@@ -88,7 +85,7 @@ if test x"${build}" != x"${target}"; then
if test x"${override_arch}" = x -a x"${override_cpu}" = x; then
default_configure_flags="${default_configure_flags} --with-arch=armv7-a"
fi
- default_configure_flags="${default_configure_flags} --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-multiarch"
+ default_configure_flags="${default_configure_flags} --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-multilib --enable-multiarch"
;;
armeb-*linux-gnueabi)
if test x"${override_cpu}" = x -a x"${override_tune}" = x; then
@@ -116,7 +113,7 @@ if test x"${build}" != x"${target}"; then
if test x"${override_arch}" = x -a x"${override_cpu}" = x; then
default_configure_flags="${default_configure_flags} --with-arch=armv7-a"
fi
- default_configure_flags="${default_configure_flags} --enable-threads=no --with-fpu=vfpv3-d16 --disable-multiarch"
+ default_configure_flags="${default_configure_flags} --enable-threads=no --with-fpu=vfpv3-d16 --enable-multilib --disable-multiarch"
languages="c,c++,lto"
;;
aarch64*-*elf)