summaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-05-01 08:33:55 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-05-01 08:34:08 -0700
commite81d5d059b485b37a6f8cfb44e563ad8b702df07 (patch)
treee6b4cf55657cb6627e7dcf1d4ce28209a9d7794c /Makefile.def
parent00923338dec84505addaf9cdeca2e9c844757824 (diff)
downloadbinutils-gdb-e81d5d059b485b37a6f8cfb44e563ad8b702df07.tar.gz
Configure zlib with --enable-host-shared for shared bfd
When bfd is configured as a shared library, we need to configure zlib with --enable-host-shared since zlib is used by bfd. PR ld/18355 * Makefile.def: Add extra_configure_flags to host zlib. * configure.ac (extra_host_zlib_configure_flags): New. Set to --enable-host-shared When bfd is to be built as shared library. AC_SUBST. * Makefile.in: Regenerated. * configure: Likewise.
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.def b/Makefile.def
index 4e7645092dd..439418884f4 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -104,7 +104,9 @@ host_modules= { module= readline; };
host_modules= { module= sid; };
host_modules= { module= sim; };
host_modules= { module= texinfo; no_install= true; };
-host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; };
+host_modules= { module= zlib; no_install=true; no_check=true;
+ bootstrap=true;
+ extra_configure_flags='@extra_host_zlib_configure_flags@';};
host_modules= { module= gdb; };
host_modules= { module= expect; };
host_modules= { module= guile; };