[PATCH] Disable all target libraries if not building gcc
H.J. Lu
hongjiu.lu@intel.com
Fri Mar 13 20:07:00 GMT 2015
I am working on SHF_COMPRESSED support:
http://www.sco.com/developers/gabi/latest/ch4.sheader.html
I will import zlib from GCC source tree into binutils-gdb tree. But zlib
failed to build as a target library in binutils-gdb. There is no need to
build target libraries if not building gcc. OK for master?
Thanks.
H.J.
---
* configure.ac (target_configdirs): Clear if if not building gcc.
* configure: Regenerated.
---
configure | 3 +++
configure.ac | 3 +++
2 files changed, 6 insertions(+)
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.
--
1.9.3
More information about the Binutils
mailing list