diff mbox

gotools patch committed: Don't use -static-libgo

Message ID CAOyqgcX7+zbRZBpdPRYcmhS71OvpFXQ-VYaVNhmfsrfDgRiJSQ@mail.gmail.com
State New
Headers show

Commit Message

Ian Lance Taylor Jan. 23, 2015, 11:12 p.m. UTC
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.
diff mbox

Patch

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