From 1a7856ba2ebe85a0da696465d145d43ed71fb793 Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Thu, 11 Mar 1999 19:46:00 +0000 Subject: [PATCH] Fix for -MD flags. Filter-out the rule if the rule if it is bogus. A better way around the problem would be to take CFLAGS off the link line, but I am not sure if we can do this. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 8c1a29e24bd9..37bc7cd2a60b 100644 --- a/configure.in +++ b/configure.in @@ -774,7 +774,7 @@ MOZ_ARG_ENABLE_BOOL_OR_STRING(debug, MOZ_ARG_ENABLE_BOOL(md, [ --enable-md Use compiler-based dependencies ], [ COMPILER_DEPEND=1 - _DEPEND_CFLAGS='-Wp,-MD,$(*D)/.deps/$(*F).pp' ] + _DEPEND_CFLAGS='$(filter-out %/.pp,-Wp,-MD,$(*D)/.deps/$(*F).pp)' ] ) dnl Make pedantic a flag for now since the builds currently choke on it.