diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2567757..1cab846 100644 --- a/configure.ac +++ b/configure.ac @@ -3192,6 +3192,15 @@ case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in ;; esac +# Bootstrapping GCC requires libstdc++-v3 so error out if libstdc++ is disabled with bootstrapping +# Note C++ is always enabled for stage1 now. +case "$enable_bootstrap:${noconfigdirs}" in + yes:*target-libstdc++-v3*) + AC_MSG_ERROR([bootstrapping with --disable-libstdcxx is not supported]) + ;; +esac + + extrasub_build= for module in ${build_configdirs} ; do if test -z "${no_recursion}" \ |