aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index d075cf3..5caf82b 100755
--- a/configure
+++ b/configure
@@ -6614,6 +6614,9 @@ Supported languages are: ${potential_languages}" "$LINENO" 5
ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
+else
+ # Disable all target libraries if not building gcc.
+ target_configdirs=
fi
# Handle --disable-<component> generically.