summaryrefslogtreecommitdiff
path: root/gcc/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/configure.in')
-rw-r--r--gcc/configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/configure.in b/gcc/configure.in
index 16bd3ea583f..5207e4cf49f 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -569,6 +569,16 @@ AC_SUBST(TARGET_SYSTEM_ROOT)
AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE)
AC_SUBST(CROSS_SYSTEM_HEADER_DIR)
+# Build with intermodule optimisations
+local_prefix=
+AC_ARG_ENABLE(intermodule,
+[ --enable-intermodule build the compiler in one step],
+[case "${enable_intermodule}" in
+ yes) onestep=-onestep : ;;
+ *) onestep= : ;;
+esac])
+AC_SUBST(onestep)
+
# -------------------------
# Checks for other programs
# -------------------------