mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1403346 - Do not set unneeded CFLAGS variables during artifact builds. r=glandium
When we move to a shell aware split for AC_SUBST_LIST it will become an error to emit an unquoted make variable reference. Currently this happens to only occur during artifact builds when setting cflags related variables that aren't needed there anyway, so here we skip settting those variables when a compile environment isn't present. MozReview-Commit-ID: EnHu48yyZ1C
This commit is contained in:
parent
94d7650a55
commit
77827089d0
@ -4135,6 +4135,7 @@ dnl =
|
||||
dnl ========================================================
|
||||
MOZ_ARG_HEADER(Build dependencies)
|
||||
|
||||
if test "$COMPILE_ENVIRONMENT"; then
|
||||
if test "$GNU_CC" -a "$GNU_CXX"; then
|
||||
_DEPEND_CFLAGS='-MD -MP -MF $(MDDEPDIR)/$(@F).pp'
|
||||
else
|
||||
@ -4167,6 +4168,7 @@ else
|
||||
AC_SUBST(NONASCII)
|
||||
fi
|
||||
fi
|
||||
fi # COMPILE_ENVIRONMENT
|
||||
|
||||
dnl ========================================================
|
||||
dnl =
|
||||
|
Loading…
Reference in New Issue
Block a user