зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1456552 Make Optimized MinGW builds use -O# instead of falling through and collecting a -O r=ted
We use -O2 for js (because we can) and we use -O1 for the root because there is an x86 compiler bug that is not immediately bypassable MozReview-Commit-ID: CnDk2ko3jfo --HG-- extra : rebase_source : bf889ab143bbf9480a261b06000d62cf0e1af8cc
This commit is contained in:
Родитель
dd8b0dc15f
Коммит
c59f8dd7b8
|
@ -654,6 +654,8 @@ case "$target" in
|
|||
LIBS="$LIBS -lgdi32 -lwinmm -lwsock32"
|
||||
MOZ_FIX_LINK_PATHS=
|
||||
|
||||
MOZ_OPTIMIZE_FLAGS="-O2"
|
||||
|
||||
WIN32_CONSOLE_EXE_LDFLAGS=-mconsole
|
||||
WIN32_GUI_EXE_LDFLAGS=-mwindows
|
||||
else
|
||||
|
|
|
@ -862,6 +862,8 @@ case "$target" in
|
|||
LIBS="$LIBS -luuid -lgdi32 -lwinmm -lwsock32 -luserenv -lsecur32"
|
||||
MOZ_FIX_LINK_PATHS=
|
||||
|
||||
MOZ_OPTIMIZE_FLAGS="-O1"
|
||||
|
||||
WIN32_CONSOLE_EXE_LDFLAGS=-mconsole
|
||||
WIN32_GUI_EXE_LDFLAGS=-mwindows
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче