This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold] [PATCH] Add --with-system-zlib in gold
- From: Cary Coutant <ccoutant at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>, Cary Coutant <ccoutant at google dot com>
- Date: Thu, 2 Apr 2015 15:51:10 -0700
- Subject: Re: [gold] [PATCH] Add --with-system-zlib in gold
- Authentication-results: sourceware.org; auth=none
- References: <20150329145114 dot GD21758 at gmail dot com> <CAMe9rOqXvtLQ9tFZ5GrPk6G8=XBUzr6jjpT90m6kHEHERaRyYg at mail dot gmail dot com>
> 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