aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu>2015-07-23 17:00:27 -0700
committerPalmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu>2015-07-23 20:07:51 -0700
commita1e1eb03dfc2131bc0caf369686a6ccc91d7507a (patch)
tree116bdc35963263d6bbc4150e5b911d09c6835b32 /configure
parentced660c61ad00d5b11ff3ee8a2dbd0dccaaf5f82 (diff)
downloadriscv-gnu-toolchain-a1e1eb03dfc2131bc0caf369686a6ccc91d7507a.zip
riscv-gnu-toolchain-a1e1eb03dfc2131bc0caf369686a6ccc91d7507a.tar.gz
riscv-gnu-toolchain-a1e1eb03dfc2131bc0caf369686a6ccc91d7507a.tar.bz2
Don't pass "--with-arch" by default
I commited this too quickly last time and it's been breaking a whole bunch of stuff. Until I managed to get multilib working in a sane way, I'm just going to go ahead and turn it off by default. You can still pass "--with-arch", but doing so while also passing things like "--enable-multilib" or "--disable-atomics" might have unexpected results.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure b/configure
index ac2e832..1b9a5ac 100755
--- a/configure
+++ b/configure
@@ -589,7 +589,7 @@ glibc_configure_flags
float_asflags
float_cflags
atomic_cflags
-ARCH
+WITH_ARCH
XLEN
default_target
FETCHER
@@ -3153,11 +3153,7 @@ fi
# Check whether --with-arch was given.
if test "${with_arch+set}" = set; then :
- withval=$with_arch; ARCH=$withval
-
-else
- ARCH=IMAFD
-
+ withval=$with_arch; WITH_ARCH=--with-arch=$withval
fi