aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-08-27 14:25:04 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-08-27 14:25:04 +0000
commit433f84bffa4744b01da49f4eee28a1f1ddf30793 (patch)
treeaa402e90556815ff58f4caa8c5ef708a7f75c22d /libgo
parentd23db3858e7779b7a42ef3533e6c4c299cb026c7 (diff)
downloadgcc-433f84bffa4744b01da49f4eee28a1f1ddf30793.zip
gcc-433f84bffa4744b01da49f4eee28a1f1ddf30793.tar.gz
gcc-433f84bffa4744b01da49f4eee28a1f1ddf30793.tar.bz2
libgo: rebuild runtime.inc if mkruntimeinc.sh changes
The Makefile was missing a dependency. Also remove runtime.inc.raw in mostlyclean. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/191958 From-SVN: r274956
Diffstat (limited to 'libgo')
-rw-r--r--libgo/Makefile.am5
-rw-r--r--libgo/Makefile.in5
2 files changed, 6 insertions, 4 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am
index 88f885b..9348af9 100644
--- a/libgo/Makefile.am
+++ b/libgo/Makefile.am
@@ -612,7 +612,7 @@ s-zdefaultcc: Makefile
# compiling runtime) to prune out certain types that should not be
# exported back to C. See comments in mkruntimeinc.sh for more details.
runtime.inc: s-runtime-inc; @true
-s-runtime-inc: runtime.lo Makefile
+s-runtime-inc: runtime.lo mkruntimeinc.sh Makefile
$(SHELL) $(srcdir)/mkruntimeinc.sh
$(SHELL) $(srcdir)/mvifdiff.sh tmp-runtime.inc runtime.inc
$(STAMP) $@
@@ -1205,7 +1205,8 @@ MOSTLYCLEANFILES = \
s-libcalls s-libcalls-list s-syscall_arch s-gen-sysinfo s-sysinfo \
s-errno s-epoll \
libgo.head libgo.sum.sep libgo.log.sep libgo.var \
- libcalls-list runtime.inc runtime.inc.tmp2 runtime.inc.tmp3
+ libcalls-list \
+ runtime.inc runtime.inc.tmp2 runtime.inc.tmp3 runtime.inc.raw
mostlyclean-local:
find . -name '*.lo' -print | xargs $(LIBTOOL) --mode=clean rm -f
diff --git a/libgo/Makefile.in b/libgo/Makefile.in
index f53ca3f..153bc95 100644
--- a/libgo/Makefile.in
+++ b/libgo/Makefile.in
@@ -1156,7 +1156,8 @@ MOSTLYCLEANFILES = \
s-libcalls s-libcalls-list s-syscall_arch s-gen-sysinfo s-sysinfo \
s-errno s-epoll \
libgo.head libgo.sum.sep libgo.log.sep libgo.var \
- libcalls-list runtime.inc runtime.inc.tmp2 runtime.inc.tmp3
+ libcalls-list \
+ runtime.inc runtime.inc.tmp2 runtime.inc.tmp3 runtime.inc.raw
CLEANFILES = *.go *.c s-* libgo.sum libgo.log runtime.inc
MULTISRCTOP =
@@ -2728,7 +2729,7 @@ s-zdefaultcc: Makefile
# compiling runtime) to prune out certain types that should not be
# exported back to C. See comments in mkruntimeinc.sh for more details.
runtime.inc: s-runtime-inc; @true
-s-runtime-inc: runtime.lo Makefile
+s-runtime-inc: runtime.lo mkruntimeinc.sh Makefile
$(SHELL) $(srcdir)/mkruntimeinc.sh
$(SHELL) $(srcdir)/mvifdiff.sh tmp-runtime.inc runtime.inc
$(STAMP) $@