diff mbox series

libgo patch committed: Rebuild runtime.inc if mkruntimeinc.sh changes

Message ID CAOyqgcV0ptF8Kv+9VmMmtwErt-j8RsUz0D_neQ9zZFykkU7iew@mail.gmail.com
State New
Headers show
Series libgo patch committed: Rebuild runtime.inc if mkruntimeinc.sh changes | expand

Commit Message

Ian Lance Taylor Aug. 27, 2019, 2:25 p.m. UTC
This libgo patch rebuilds runtime.inc if mkruntimeinc.sh changes.  The
Makefile was missing a dependency.  Also remove runtime.inc.raw in
mostlyclean.  Bootstrapped on x86_64-pc-linux-gnu.  Committed to
mainline.

Ian
diff mbox series

Patch

Index: gcc/go/gofrontend/MERGE
===================================================================
--- gcc/go/gofrontend/MERGE	(revision 274935)
+++ gcc/go/gofrontend/MERGE	(working copy)
@@ -1,4 +1,4 @@ 
-58c0fc64d91edc53ef9828b85cf3dc86aeb94e12
+a6ddd0e1208a7d229c10be630c1110b3914038f5
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
Index: libgo/Makefile.am
===================================================================
--- libgo/Makefile.am	(revision 274169)
+++ libgo/Makefile.am	(working copy)
@@ -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