Disable all target libraries if not building gcc
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 16 Mar 2015 15:12:46 +0000 (08:12 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 16 Mar 2015 15:12:59 +0000 (08:12 -0700)
Don't build target libraries if not building gcc.

* configure.ac (target_configdirs): Unset if not building gcc.
* configure: Regenerated.

ChangeLog
configure
configure.ac

index da2e2ce39dea6d487420ba319666da88ca0e44bb..566ea0dfbc51c4ae22ede0888f494ed883dd37ec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac (target_configdirs): Unset if not building gcc.
+       * configure: Regenerated.
+
 2015-01-28  James Bowman  <james.bowman@ftdichip.com>
 
        * configure.ac: Add FT32 support.
index d075cf36b9c161970def726b4c31b30ec7132d57..5caf82b08c808d93d2fe8a4bdc284876dbdc8308 100755 (executable)
--- 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.
index 5ff56bfaa50751143f0ee206b9f0e1f9d7685650..34774d85da7283c286993f49c8ed3cb65563f6f9 100644 (file)
@@ -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-<component> generically.