This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Support LD_SYMBOLIC and LD_SYMBOLIC_FUNCTIONS
On Tue, Jan 30, 2007 at 03:08:04PM +0000, Nick Clifton wrote:
> >># LD_SYMBOLIC_FUNCTIONS=1 rpmbuild --rebuild
> >>openoffice.org-2.0.4-5.5.10.src.rpm
>
> But you do not have -Bsymbolic-functions in your spec file, so if you
> forget this trick in the future and rebuild the openoffice.org binaries
> again you will miss out on the optimization. With this new feature
> restricted to the -Bsymbolic-functions command line switch users that
> want it are forced to do the right thing and add it to the spec file.
Especially when -Bsymbolic-functions is not just an innocent optimization,
but changes behavior of the program or library being linked.
An environment variable for this is IMHO a terribly bad idea.
Jakub