gold patch committed: Don't test -static if it doesn't work

Ian Lance Taylor iant@google.com
Sat Jul 2 00:20:00 GMT 2011
Apparently Solaris does not ship a static version of libc.a, so -static
can not work.  This patch to gold changes the testsuite so that if
-static does not work, it is not tested.  Committed to mainline.

Ian


2011-07-01  Ian Lance Taylor  <iant@google.com>

	PR gold/12525
	* configure.ac: Test whether static linking works, setting
	the automake conditional HAVE_STATIC.
	* testsuite/Makefile.am: Disable tests using -static if
	HAVE_STATIC is not true.
	* configure, testsuite/Makefile.in: Rebuild.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 7332 bytes
Desc: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20110702/f99a8d7b/attachment.bin>


More information about the Binutils mailing list