зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
ca597944da
Коммит
1a7856ba2e
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче