diff options
author | Jim Wilson <jimw@sifive.com> | 2019-11-05 19:03:47 -0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2019-11-05 19:03:47 -0800 |
commit | 8b4b8dbb35a271bd26196e09b8eb5a2025376cec (patch) | |
tree | 2f38c98e30692a4f67d8e52a4ee504a11ed45999 /configure | |
parent | 174c8b3070e52423abb7b248958bd7ed097ad75c (diff) | |
download | riscv-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-x | configure | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -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 : |