diff mbox series

* Makefile.in (build/genmatch.o): Depend on $(CPPLIB_H).

Message ID 20190916161904.3344-1-jason@redhat.com
State New
Headers show
Series * Makefile.in (build/genmatch.o): Depend on $(CPPLIB_H). | expand

Commit Message

Jason Merrill Sept. 16, 2019, 4:19 p.m. UTC
So that rebuilding my tree with or without the operator<=> patches properly
rebuilds genmatch.

Tested x86_64-pc-linux-gnu, applying to trunk as obvious.

---
 gcc/Makefile.in | 2 +-
 gcc/ChangeLog   | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)


base-commit: 4bc26ca2c40a29d0f49bad7a8326dbac6f764c35
diff mbox series

Patch

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 0fe02fb27a1..152df9fa9b3 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2783,7 +2783,7 @@  build/genmddump.o : genmddump.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H)	\
   $(CORETYPES_H) $(GTM_H) errors.h $(READ_MD_H) $(GENSUPPORT_H)
 build/genmatch.o : genmatch.c $(BCONFIG_H) $(SYSTEM_H) \
   $(CORETYPES_H) errors.h $(HASH_TABLE_H) hash-map.h $(GGC_H) is-a.h \
-  tree.def builtins.def internal-fn.def case-cfn-macros.h
+  tree.def builtins.def internal-fn.def case-cfn-macros.h $(CPPLIB_H)
 build/gencfn-macros.o : gencfn-macros.c $(BCONFIG_H) $(SYSTEM_H)	\
   $(CORETYPES_H) errors.h $(HASH_TABLE_H) hash-set.h builtins.def	\
   internal-fn.def
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1921bc775d6..63fae8615e5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@ 
+2019-09-16  Jason Merrill  <jason@redhat.com>
+
+	* Makefile.in (build/genmatch.o): Depend on $(CPPLIB_H).
+
 2019-09-16  Martin Liska  <mliska@suse.cz>
 
 	* gimple-fold.c (or_comparisons_1): Remove rules moved