diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-03-31 03:58:15 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-03-31 03:59:04 -0700 |
commit | f24173ebf754866d4a1881a28dc2c07062c119d7 (patch) | |
tree | e45d9421f6d0ba52848cbd5571e967740f97290d /ld/testsuite/ld-bootstrap/bootstrap.exp | |
parent | 0138187e9fc351c6d4615bbe2ab020a3ac646b50 (diff) | |
download | gdb-f24173ebf754866d4a1881a28dc2c07062c119d7.zip gdb-f24173ebf754866d4a1881a28dc2c07062c119d7.tar.gz gdb-f24173ebf754866d4a1881a28dc2c07062c119d7.tar.bz2 |
Remove --with-zlib from ld
This patch removes --with-zlib from ld.
ld/
* configure.ac (AM_ZLIB): Removed.
* Makefile.in: Regenerated.
* config.in: Likewise.
* configure: Likewise.
ld/testsuite/
* ld-bootstrap/bootstrap.exp (extralibs): Add -lz.
Diffstat (limited to 'ld/testsuite/ld-bootstrap/bootstrap.exp')
-rw-r--r-- | ld/testsuite/ld-bootstrap/bootstrap.exp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-bootstrap/bootstrap.exp b/ld/testsuite/ld-bootstrap/bootstrap.exp index fe8031d..3b6eb84 100644 --- a/ld/testsuite/ld-bootstrap/bootstrap.exp +++ b/ld/testsuite/ld-bootstrap/bootstrap.exp @@ -120,6 +120,13 @@ foreach flags $test_flags { } } + # Check if the system's zlib library is used. + if {[file exists ../zlib/Makefile ]} then { + set extralibs "$extralibs -L../zlib -lz" + } else { + set extralibs "$extralibs -lz" + } + # Plugin support requires linking with libdl. if { $plugins == "yes" } { if { ![istarget "*-*-freebsd*"]} { |