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  <i...@google.com>

PR go/64738
* Makefile.am (AM_LDFLAGS): Remove -static-libgo.
* Makefile.in: Rebuild.
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

Reply via email to