$LDFLAGS not honored by tests
Mike Frysinger
vapier@gentoo.org
Fri Mar 19 20:43:00 GMT 2010
On Thursday 18 March 2010 12:39:29 Ludovic Courtès wrote:
> $LDFLAGS is not inherited by the DejaGNU test suite machinery (be it an
> Autoconf substitution variable or an environment variable), which leads
> to test failures, e.g., when LDFLAGS="-L/path/to/zlib" and /path/to/zlib
> is not in the linker’s search path.
respecting all users LDFLAGS can easily cause many more problems. much of the
linker output in the tests rely on the default linker behavior.
> What’s the preferred way to fix it and/or work around it?
libraries should be found by your toolchain without additional flags, so find
the sysroot your toolchain is searching and install zlib there.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20100319/81e521b7/attachment.sig>
More information about the Binutils
mailing list