summaryrefslogtreecommitdiff
path: root/gotools
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2017-05-18 22:44:12 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2017-05-18 22:44:12 +0000
commit7f2f4625aa935169b597dbc59249d9b3377edb4b (patch)
treed1b64c743ef3fbf15a430f0958ca75bc3c97d313 /gotools
parentc9c2f251f1cb8ebc68c180e3264f2437ade6e16c (diff)
downloadgcc-7f2f4625aa935169b597dbc59249d9b3377edb4b.tar.gz
PR go/80814
* Makefile.am (AM_GOCFLAGS): Define. * Makefile.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248255 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gotools')
-rw-r--r--gotools/ChangeLog6
-rw-r--r--gotools/Makefile.am1
-rw-r--r--gotools/Makefile.in3
3 files changed, 9 insertions, 1 deletions
diff --git a/gotools/ChangeLog b/gotools/ChangeLog
index 5933801ee75..72b86b76d76 100644
--- a/gotools/ChangeLog
+++ b/gotools/ChangeLog
@@ -1,3 +1,9 @@
+2017-05-18 Ian Lance Taylor <iant@golang.org>
+
+ PR go/80814
+ * Makefile.am (AM_GOCFLAGS): Define.
+ * Makefile.in: Rebuild.
+
2017-01-13 Ian Lance Taylor <iant@golang.org>
Updates for Go 1.8rc1.
diff --git a/gotools/Makefile.am b/gotools/Makefile.am
index 5f3940a278b..ccadbd25a88 100644
--- a/gotools/Makefile.am
+++ b/gotools/Makefile.am
@@ -38,6 +38,7 @@ endif
GOCFLAGS = $(CFLAGS_FOR_TARGET)
GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS)
+AM_GOCFLAGS = -I $(libgodir)
AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs
GOLINK = $(GOCOMPILER) $(GOCFLAGS) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@
diff --git a/gotools/Makefile.in b/gotools/Makefile.in
index 4386576b011..941a82336ac 100644
--- a/gotools/Makefile.in
+++ b/gotools/Makefile.in
@@ -258,6 +258,7 @@ LIBGODEP = $(libgodir)/libgo.la
# Use the compiler we just built.
@NATIVE_TRUE@GOCOMPILER = $(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET)
GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS)
+AM_GOCFLAGS = -I $(libgodir)
AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs
GOLINK = $(GOCOMPILER) $(GOCFLAGS) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@
cmdsrcdir = $(srcdir)/../libgo/go/cmd
@@ -565,8 +566,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 \