From: H.J. Lu Date: Mon, 16 Mar 2015 15:12:46 +0000 (-0700) Subject: Disable all target libraries if not building gcc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35fece71d50e1883e67fcd28c69245de4335b8b5;p=binutils-gdb.git 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. --- diff --git a/ChangeLog b/ChangeLog index da2e2ce39de..566ea0dfbc5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-03-16 H.J. Lu + + * configure.ac (target_configdirs): Unset if not building gcc. + * configure: Regenerated. + 2015-01-28 James Bowman * configure.ac: Add FT32 support. diff --git a/configure b/configure index d075cf36b9c..5caf82b08c8 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- generically. diff --git a/configure.ac b/configure.ac index 5ff56bfaa50..34774d85da7 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.