gotools patch committed: Don't use -static-libgo
Ian Lance Taylor
iant@golang.org
Sat Jan 24 00:03:00 GMT 2015
In PR 64738 people complain about the fact that the gotools use
-static-libgo. It looks like I can set GOCFLAGS on the configure
command line, so remove -static-libgo. Bootstrapped on
x86_64-unknown-linux-gnu. Committed to mainline.
Ian
2015-01-23 Ian Lance Taylor <iant@google.com>
PR go/64738
* Makefile.am (AM_LDFLAGS): Remove -static-libgo.
* Makefile.in: Rebuild.
-------------- next part --------------
Index: Makefile.am
===================================================================
--- Makefile.am (revision 220064)
+++ Makefile.am (working copy)
@@ -38,7 +38,7 @@ endif
GOCFLAGS = $(CFLAGS_FOR_TARGET)
GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS)
-AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs -static-libgo
+AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs
GOLINK = $(GOCOMPILER) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@
cmdsrcdir = $(srcdir)/../libgo/go/cmd
More information about the Gcc-patches
mailing list