[PATCH 1/8] Add --with-system-zlib in bfd

Pedro Alves palves@redhat.com
Tue Mar 31 12:15:00 GMT 2015


On 03/31/2015 01:01 PM, H.J. Lu wrote:
>> >
>> >
>> > They're all the same.  Just a couple doesn't define zlibdir or zlibinc.
> If zlib.m4 is changed, I will use it and GCC can also use it. But I
> don't know if other packages use zlib.m4.

Please change it.  Packages not in the tree can replace zlib.m4 with
something else if they need it, or adjust to the new body, and thus
end up consistent with the rest of the toolchain.

"git blame" shows that zlib.m4 was invented exactly to make
sure bfd/gdb use the same zlib switches and checks:

 https://sourceware.org/ml/binutils/2009-10/msg00600.html

Thanks,
Pedro Alves



More information about the Binutils mailing list