aboutsummaryrefslogtreecommitdiff
path: root/gotools/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2015-12-02 19:27:58 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2015-12-02 19:27:58 +0000
commit105b682e138221fe33886c43379cdf3110112c74 (patch)
tree8be7de1b11e1883e8227d0eebd156b6f1df71c99 /gotools/Makefile.am
parentf479b43da091fd3ede525b7832cd69a22fb49f9a (diff)
downloadgcc-105b682e138221fe33886c43379cdf3110112c74.zip
gcc-105b682e138221fe33886c43379cdf3110112c74.tar.gz
gcc-105b682e138221fe33886c43379cdf3110112c74.tar.bz2
re PR go/66147 (go fails to cross build)
./: PR go/66147 * Makefile.tpl (HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET. * Makefile.in: Regenerate. gotools/: PR go/66147 * Makefile.am (GOCOMPILER): In NATIVE case, add $(XGCC_FLAGS_FOR_TARGET). From-SVN: r231199
Diffstat (limited to 'gotools/Makefile.am')
-rw-r--r--gotools/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/gotools/Makefile.am b/gotools/Makefile.am
index 131f6d5..30c280e 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