summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@lug-owl.de>2013-10-16 20:36:39 +0000
committerJan-Benedict Glaw <jbglaw@lug-owl.de>2013-10-16 20:36:39 +0000
commitfbb05ae32d8e2154decc81d832edff21bf2bcac8 (patch)
treee54abb2332be4f2854db2a7932af33bdedc8f997
parent73164d1d959e7216a525e5f09ca6651ef1efe92d (diff)
downloadbinutils-redhat-fbb05ae32d8e2154decc81d832edff21bf2bcac8.tar.gz
2013-10-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* configure.ac: Update from GCC. * configure: Regenerate.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure13
-rw-r--r--configure.ac7
3 files changed, 25 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 14c97cc6f8..d330069673 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>
+
+ * configure.ac: Update from GCC.
+ * configure: Regenerate.
+
2013-10-15 Hans-Peter Nilsson <hp@axis.com>
* src-release (do-proto-toplevel): Support subdir-path-prefixed
diff --git a/configure b/configure
index 6ad3c49eaa..d62285c906 100755
--- a/configure
+++ b/configure
@@ -556,6 +556,7 @@ enable_option_checking=no
ac_subst_vars='LTLIBOBJS
LIBOBJS
compare_exclusions
+host_shared
stage2_werror_flag
stage1_checking
stage1_cflags
@@ -787,6 +788,7 @@ with_build_time_tools
enable_maintainer_mode
enable_stage1_checking
enable_werror
+enable_host_shared
'
ac_precious_vars='build_alias
host_alias
@@ -1490,6 +1492,7 @@ Optional Features:
choose additional checking for stage1 of the
compiler
--enable-werror enable -Werror in bootstrap stage2 and later
+ --enable-host-shared build host code as shared libraries
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -14570,6 +14573,16 @@ case ${enable_werror} in
esac
+# Enable --enable-host-shared.
+# Check whether --enable-host-shared was given.
+if test "${enable_host_shared+set}" = set; then :
+ enableval=$enable_host_shared; host_shared=$enableval
+else
+ host_shared=no
+fi
+
+
+
# Specify what files to not compare during bootstrap.
compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
diff --git a/configure.ac b/configure.ac
index b5caebbaf1..4c23652501 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3301,6 +3301,13 @@ case ${enable_werror} in
esac
AC_SUBST(stage2_werror_flag)
+# Enable --enable-host-shared.
+AC_ARG_ENABLE(host-shared,
+[AS_HELP_STRING([--enable-host-shared],
+ [build host code as shared libraries])],
+[host_shared=$enableval], [host_shared=no])
+AC_SUBST(host_shared)
+
# Specify what files to not compare during bootstrap.
compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"