From ca9ef80760137796b03f202d2ab7add0a5cc471a Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 10 Apr 2014 12:35:47 -0500 Subject: [PATCH] configure: Cancel GNUMake built-in compiler rules Their rules don't have our _INC dependencies, and were being used in the gdd build (with no -I paths). --- configure/RULES_BUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure/RULES_BUILD b/configure/RULES_BUILD index 4f622e182..36e21f547 100644 --- a/configure/RULES_BUILD +++ b/configure/RULES_BUILD @@ -195,6 +195,12 @@ $(OBJLIBNAME):%$(OBJ): @$(RM) $@ $(COMPILE.ctdt) $< +# Cancel GNUMake's built-in rules, which don't have our _INC +# dependencies so could get used in some circumstances (gdd) +%.o : %.c +%.o : %.cc +%.o : %.cpp + %$(OBJ): %.c $(COMMON_INC) $(INSTALL_INC) @$(HDEPENDS_CMD) @$(RM) $@