aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2019-11-05 19:03:47 -0800
committerJim Wilson <jimw@sifive.com>2019-11-05 19:03:47 -0800
commit8b4b8dbb35a271bd26196e09b8eb5a2025376cec (patch)
tree2f38c98e30692a4f67d8e52a4ee504a11ed45999 /configure
parent174c8b3070e52423abb7b248958bd7ed097ad75c (diff)
downloadriscv-gnu-toolchain-8b4b8dbb35a271bd26196e09b8eb5a2025376cec.zip
riscv-gnu-toolchain-8b4b8dbb35a271bd26196e09b8eb5a2025376cec.tar.gz
riscv-gnu-toolchain-8b4b8dbb35a271bd26196e09b8eb5a2025376cec.tar.bz2
Don't enable gcc checking by default.
Also, support all gcc checking options instead of just yes and release. Also, fix copy-and-paste error in cmodel support refering to gcc checking.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 3 insertions, 9 deletions
diff --git a/configure b/configure
index a8d2b7b..ab9d878 100755
--- a/configure
+++ b/configure
@@ -3357,16 +3357,13 @@ fi
# Check whether --enable-gcc-checking was given.
if test "${enable_gcc_checking+set}" = set; then :
enableval=$enable_gcc_checking;
-else
- enable_gcc_checking=yes
-
fi
-if test "x$enable_gcc_checking" != xno; then :
- gcc_checking=--enable-checking=yes
+if test "x$enable_gcc_checking" != x; then :
+ gcc_checking=--enable-checking=$enable_gcc_checking
else
- gcc_checking=--enable-checking=release
+ gcc_checking=""
fi
@@ -3374,9 +3371,6 @@ fi
# Check whether --with-cmodel was given.
if test "${with_cmodel+set}" = set; then :
withval=$with_cmodel;
-else
- enable_gcc_checking=yes
-
fi
if test "x$with_cmodel" != x; then :