This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Disable all target libraries if not building gcc


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=35fece71d50e1883e67fcd28c69245de4335b8b5

commit 35fece71d50e1883e67fcd28c69245de4335b8b5
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Mar 16 08:12:46 2015 -0700

    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:
---
 ChangeLog    | 5 +++++
 configure    | 3 +++
 configure.ac | 3 +++
 3 files changed, 11 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index da2e2ce..566ea0d 100644
--- 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.
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.
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-<component> generically.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]