зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1411081 - Move assignment of default value for MOZ_OPTIMIZE_FLAGS; r=glandium
It is now closer in the file to where other default values are computed. MozReview-Commit-ID: BffCEb6FAUP --HG-- extra : rebase_source : 81b17131f9330d89818a36ffff625b672c19c01e
This commit is contained in:
Родитель
5b6a6d303e
Коммит
b7a368158f
|
@ -856,6 +856,10 @@ case "$target" in
|
|||
|
||||
esac
|
||||
|
||||
if test -z "$MOZ_OPTIMIZE_FLAGS"; then
|
||||
MOZ_OPTIMIZE_FLAGS="-O"
|
||||
fi
|
||||
|
||||
dnl Only one oddball right now (QNX), but this gives us flexibility
|
||||
dnl if any other platforms need to override this in the future.
|
||||
AC_DEFINE_UNQUOTED(D_INO,$DIRENT_INO)
|
||||
|
@ -1433,9 +1437,6 @@ MOZ_ARG_HEADER(Debugging and Optimizations)
|
|||
dnl ========================================================
|
||||
dnl = Enable code optimization. ON by default.
|
||||
dnl ========================================================
|
||||
if test -z "$MOZ_OPTIMIZE_FLAGS"; then
|
||||
MOZ_OPTIMIZE_FLAGS="-O"
|
||||
fi
|
||||
|
||||
MOZ_ARG_ENABLE_STRING(optimize,
|
||||
[ --disable-optimize Disable compiler optimization
|
||||
|
|
|
@ -1113,6 +1113,10 @@ case "$target" in
|
|||
|
||||
esac
|
||||
|
||||
if test -z "$MOZ_OPTIMIZE_FLAGS"; then
|
||||
MOZ_OPTIMIZE_FLAGS="-O"
|
||||
fi
|
||||
|
||||
AC_SUBST_LIST(MMX_FLAGS)
|
||||
AC_SUBST_LIST(SSE_FLAGS)
|
||||
AC_SUBST_LIST(SSE2_FLAGS)
|
||||
|
@ -3709,9 +3713,6 @@ fi
|
|||
dnl ========================================================
|
||||
dnl = Enable code optimization. ON by default.
|
||||
dnl ========================================================
|
||||
if test -z "$MOZ_OPTIMIZE_FLAGS"; then
|
||||
MOZ_OPTIMIZE_FLAGS="-O"
|
||||
fi
|
||||
|
||||
MOZ_ARG_ENABLE_STRING(optimize,
|
||||
[ --disable-optimize Disable compiler optimization
|
||||
|
|
Загрузка…
Ссылка в новой задаче