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.
git-svn-id: svn://10.0.0.236/trunk@23715 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained 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.
|
||||
|
||||
Reference in New Issue
Block a user