From 656416c96528437f54b345b1470aaa40f145ed30 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 12 May 2012 08:40:20 +0200 Subject: Fix dependency tracking on cross-rpcgen-objs --- Makerules | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makerules') diff --git a/Makerules b/Makerules index b069763..a897d4e 100644 --- a/Makerules +++ b/Makerules @@ -369,6 +369,11 @@ compile-command.s = $(COMPILE.s) $< $(OUTPUT_OPTION) $(compile-mkdep-flags) compile-command.c = $(compile.c) $(OUTPUT_OPTION) $(compile-mkdep-flags) compile-command.cc = $(compile.cc) $(OUTPUT_OPTION) $(compile-mkdep-flags) +# Like compile-mkdep-flags, but for use with $(BUILD_CC). We don't want to +# track system includes here, they may spuriously trigger an install rule, +# and would cause the check-local-headers test to fail. +native-compile-mkdep-flags = -MMD -MP -MF $@.dt -MT $@ + # GCC can grok options after the file name, and it looks nicer that way. compile.c = $(CC) $< -c $(CFLAGS) $(CPPFLAGS) compile.cc = $(CXX) $< -c $(CXXFLAGS) $(CPPFLAGS) -- cgit v1.1