From 35fece71d50e1883e67fcd28c69245de4335b8b5 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 16 Mar 2015 08:12:46 -0700 Subject: Disable all target libraries if not building gcc Don't build target libraries if not building gcc. * configure.ac (target_configdirs): Unset if not building gcc. * configure: Regenerated. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5ff56bf..34774d8 100644 --- a/configure.ac +++ b/configure.ac @@ -2039,6 +2039,9 @@ Supported languages are: ${potential_languages}]) AC_SUBST(stage1_languages) 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- generically. -- cgit v1.1