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.

This commit is contained in:
slamm%netscape.com 1999-03-11 19:46:00 +00:00
Родитель ca597944da
Коммит 1a7856ba2e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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.