aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure b/configure
index e36b214..36e3e20 100755
--- a/configure
+++ b/configure
@@ -598,6 +598,7 @@ with_glibc_src
with_newlib_src
with_binutils_src
with_gcc_src
+enable_host_gcc
enable_llvm
enable_gdb
with_guile
@@ -697,6 +698,7 @@ with_system_zlib
with_guile
enable_gdb
enable_llvm
+enable_host_gcc
with_gcc_src
with_binutils_src
with_newlib_src
@@ -1340,6 +1342,7 @@ Optional Features:
[--disable-gcc-checking]
--disable-gdb Don't build GDB, as it's not upstream
--enable-llvm Build LLVM (clang)
+ --enable-host-gcc Build host GCC to build cross toolchain
--enable-libsanitizer Build libsanitizer, which only supports rv64
--enable-qemu-system Build qemu with system-mode emulation
@@ -3623,6 +3626,20 @@ else
fi
+# Check whether --enable-host-gcc was given.
+if test "${enable_host_gcc+set}" = set; then :
+ enableval=$enable_host_gcc; enable_host_gcc=yes
+fi
+
+
+if test "x$enable_host_gcc" != xyes; then :
+ enable_host_gcc=--disable-host-gcc
+
+else
+ enable_host_gcc=--enable-host-gcc
+
+fi
+
{