diff options
author | Jason Merrill <jason@redhat.com> | 2013-05-16 11:09:31 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2013-05-16 11:09:31 -0400 |
commit | 427b248dd0460725a3d6b266fde176420da3103b (patch) | |
tree | 58dd6ed692243aaa8c1c4c970c25746342075404 /gcc/go | |
parent | 11678eb3835f050414cc7e4a26ae6b9461e2e90d (diff) | |
download | gcc-427b248dd0460725a3d6b266fde176420da3103b.zip gcc-427b248dd0460725a3d6b266fde176420da3103b.tar.gz gcc-427b248dd0460725a3d6b266fde176420da3103b.tar.bz2 |
Makefile.in (LLINKER): New variable.
* Makefile.in (LLINKER): New variable.
(mostlyclean): Remove link mutex.
* configure.ac: Handle --enable-link-mutex.
* lock-and-run.sh: New script.
From-SVN: r198977
Diffstat (limited to 'gcc/go')
-rw-r--r-- | gcc/go/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/go/Make-lang.in | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index 61739ce..aadca50 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,7 @@ +2013-05-16 Jason Merrill <jason@redhat.com> + + * Make-lang.in (go1$(exeext)): Use link mutex. + 2013-01-16 Shenghou Ma <minux.ma@gmail.com> * gospec.c: pass -u pthread_create to linker when static linking. diff --git a/gcc/go/Make-lang.in b/gcc/go/Make-lang.in index dd98080..5fe4083 100644 --- a/gcc/go/Make-lang.in +++ b/gcc/go/Make-lang.in @@ -76,7 +76,7 @@ GO_OBJS = \ go/unsafe.o go1$(exeext): $(GO_OBJS) attribs.o $(BACKEND) $(LIBDEPS) - +$(CXX) $(ALL_CXXFLAGS) $(LDFLAGS) -o $@ \ + +$(LLINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \ $(GO_OBJS) attribs.o $(BACKEND) $(LIBS) $(BACKENDLIBS) # Documentation. |