diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-05-01 08:33:55 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-05-01 08:34:08 -0700 |
commit | e81d5d059b485b37a6f8cfb44e563ad8b702df07 (patch) | |
tree | e6b4cf55657cb6627e7dcf1d4ce28209a9d7794c /Makefile.def | |
parent | 00923338dec84505addaf9cdeca2e9c844757824 (diff) | |
download | gdb-e81d5d059b485b37a6f8cfb44e563ad8b702df07.zip gdb-e81d5d059b485b37a6f8cfb44e563ad8b702df07.tar.gz gdb-e81d5d059b485b37a6f8cfb44e563ad8b702df07.tar.bz2 |
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.def | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.def b/Makefile.def index 4e76450..4394188 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; }; |