go-libgcc.patch 662 B

123456789101112
  1. diff -Nur gcc-6.2.0.orig/gotools/Makefile.in gcc-6.2.0/gotools/Makefile.in
  2. --- gcc-6.2.0.orig/gotools/Makefile.in 2016-02-03 22:58:02.000000000 +0100
  3. +++ gcc-6.2.0/gotools/Makefile.in 2016-09-04 09:29:15.582198715 +0200
  4. @@ -259,7 +259,7 @@
  5. @NATIVE_TRUE@GOCOMPILER = $(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET)
  6. GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS)
  7. AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs
  8. -GOLINK = $(GOCOMPILER) $(GOCFLAGS) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@
  9. +GOLINK = $(GOCOMPILER) $(GOCFLAGS) $(AM_GOCFLAGS) $(LDFLAGS) -lgcc_s $(AM_LDFLAGS) -o $@
  10. cmdsrcdir = $(srcdir)/../libgo/go/cmd
  11. go_cmd_go_files = \
  12. $(cmdsrcdir)/go/alldocs.go \