summaryrefslogtreecommitdiff
path: root/gotools
diff options
context:
space:
mode:
Diffstat (limited to 'gotools')
-rw-r--r--gotools/ChangeLog6
-rw-r--r--gotools/Makefile.am2
-rw-r--r--gotools/Makefile.in4
3 files changed, 9 insertions, 3 deletions
diff --git a/gotools/ChangeLog b/gotools/ChangeLog
index afe08984f34..5ddd685a9cb 100644
--- a/gotools/ChangeLog
+++ b/gotools/ChangeLog
@@ -1,3 +1,9 @@
+2015-12-02 Ian Lance Taylor <iant@google.com>
+
+ PR go/66147
+ * Makefile.am (GOCOMPILER): In NATIVE case, add
+ $(XGCC_FLAGS_FOR_TARGET).
+
2015-10-31 Ian Lance Taylor <iant@google.com>
* Makefile.am (go_cmd_go_files): Update to Go 1.5.1 library by
diff --git a/gotools/Makefile.am b/gotools/Makefile.am
index 131f6d5680b..30c280e6272 100644
--- a/gotools/Makefile.am
+++ b/gotools/Makefile.am
@@ -30,7 +30,7 @@ LIBGODEP = $(libgodir)/libgo.la
if NATIVE
# Use the compiler we just built.
-GOCOMPILER = $(GOC_FOR_TARGET)
+GOCOMPILER = $(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET)
else
GOCOMPILER = $(GOC)
endif
diff --git a/gotools/Makefile.in b/gotools/Makefile.in
index 443b626fb85..54409cd9baf 100644
--- a/gotools/Makefile.in
+++ b/gotools/Makefile.in
@@ -256,7 +256,7 @@ LIBGODEP = $(libgodir)/libgo.la
@NATIVE_FALSE@GOCOMPILER = $(GOC)
# Use the compiler we just built.
-@NATIVE_TRUE@GOCOMPILER = $(GOC_FOR_TARGET)
+@NATIVE_TRUE@GOCOMPILER = $(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET)
GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS)
AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs
GOLINK = $(GOCOMPILER) $(GOCFLAGS) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@
@@ -563,8 +563,8 @@ distclean-generic:
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-@NATIVE_FALSE@uninstall-local:
@NATIVE_FALSE@install-exec-local:
+@NATIVE_FALSE@uninstall-local:
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \