[gold] [PATCH] Add --with-system-zlib in gold

Cary Coutant ccoutant@gmail.com
Thu Apr 2 22:51:00 GMT 2015


> This patch adds --with-system-zlib and removes --with-zlib in gold.
>
> * Makefile.am (ZLIB): New.
> (ZLIBINC): Likewise.
> (AM_CFLAGS): Add $(ZLIBINC).
> (AM_CXXFLAGS): Likewise.
> (ldadd_varldadd_var): Add $(ZLIB).
> (incremental_dump_LDADD): Likewise.
> (dwp_LDADD): Likewise.
> * compressed_output.cc: Don't check HAVE_ZLIB_H to include
> <zlib.h>.
> (zlib_compress): Don't check HAVE_ZLIB_H.
> (zlib_decompress): Likewise.
> * options.h (compress_debug_sections): Likewise.
> * configure.ac (AM_CONDITIONAL): Removed.
> * testsuite/Makefile.am (ZLIB): New.
> (LDADD): Add $(ZLIB).
> Don't check HAVE_ZLIB.
> * Makefile.in: Regenerated.
> * aclocal.m4: Likewise.
> * config.in: Likewise.
> * configure: Likewise.
> * testsuite/Makefile.in: Likewise.

Yes, this is OK (for the record, since it's already committed). Thanks!

-cary



More information about the Binutils mailing list