aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1756fde..68b6b31 100644
--- a/configure.ac
+++ b/configure.ac
@@ -259,6 +259,16 @@ AS_IF([test "x$enable_llvm" != xyes],
[AC_SUBST(enable_llvm, --disable-llvm)],
[AC_SUBST(enable_llvm, --enable-llvm)])
+AC_ARG_ENABLE(host_gcc,
+ [AS_HELP_STRING([--enable-host-gcc],
+ [Build host GCC to build cross toolchain])],
+ [enable_host_gcc=yes],
+ [])
+
+AS_IF([test "x$enable_host_gcc" != xyes],
+ [AC_SUBST(enable_host_gcc, --disable-host-gcc)],
+ [AC_SUBST(enable_host_gcc, --enable-host-gcc)])
+
AC_DEFUN([AX_ARG_WITH_SRC],
[{m4_pushdef([opt_name], with_$1_src)
AC_ARG_WITH($1-src,