This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/64738] go, gofmt and cgo binaries linked statically
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Jan 2015 23:51:32 +0000
- Subject: [Bug go/64738] go, gofmt and cgo binaries linked statically
- Auto-submitted: auto-generated
- References: <bug-64738-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64738
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I see in gotools/Makefile.am:
AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs -static-libgo
but why has the -static-libgo flag been added is unclear (and, IMHO very much
undesirable).