diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-15 21:10:09 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-15 21:10:09 +0000 |
commit | e2c68ad40ac4ebbc2d3d81f9abc73e804d60b15c (patch) | |
tree | d7791736c11d37fedba56b5a8151135228f45634 /gotools/Makefile.in | |
parent | b97c3ba6c203749037c99a16ec94966247608bbc (diff) | |
download | gcc-e2c68ad40ac4ebbc2d3d81f9abc73e804d60b15c.tar.gz |
* configure.ac: Check for networking libraries; see NET_LIBS.
* Makefile.am (go$(EXEEXT)): Link against NET_LIBS.
(gofmt$(EXEEXT), cgo$(EXEEXT)): Likewise.
* configure, Makefile.in: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219690 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gotools/Makefile.in')
-rw-r--r-- | gotools/Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gotools/Makefile.in b/gotools/Makefile.in index 20458bdf9b0..295c68d9844 100644 --- a/gotools/Makefile.in +++ b/gotools/Makefile.in @@ -122,6 +122,7 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ +NET_LIBS = @NET_LIBS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ @@ -589,11 +590,11 @@ s-zdefaultcc: Makefile $(STAMP) $@ @NATIVE_TRUE@go$(EXEEXT): $(go_cmd_go_files) zdefaultcc.go $(LIBGODEP) -@NATIVE_TRUE@ $(GOLINK) $(go_cmd_go_files) zdefaultcc.go +@NATIVE_TRUE@ $(GOLINK) $(go_cmd_go_files) zdefaultcc.go $(NET_LIBS) @NATIVE_TRUE@gofmt$(EXEEXT): $(go_cmd_gofmt_files) $(LIBGODEP) -@NATIVE_TRUE@ $(GOLINK) $(go_cmd_gofmt_files) +@NATIVE_TRUE@ $(GOLINK) $(go_cmd_gofmt_files) $(NET_LIBS) @NATIVE_TRUE@cgo$(EXEEXT): $(go_cmd_cgo_files) zdefaultcc.go $(LIBGODEP) -@NATIVE_TRUE@ $(GOLINK) $(go_cmd_cgo_files) zdefaultcc.go +@NATIVE_TRUE@ $(GOLINK) $(go_cmd_cgo_files) zdefaultcc.go $(NET_LIBS) # For a non-native build we have to build the programs using a # previously built host (or build -> host) Go compiler. We should |