зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1836875 - Bump subsystem version to 10.0 to block Firefox from running on Windows 7/8/8.1. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D180025
This commit is contained in:
Родитель
68a11ce621
Коммит
7dead3b4c9
|
@ -379,12 +379,7 @@ case "$target" in
|
|||
WIN32_GUI_EXE_LDFLAGS=-mwindows
|
||||
else
|
||||
TARGET_COMPILER_ABI=msvc
|
||||
# aarch64 doesn't support subsystems below 6.02
|
||||
if test "$CPU_ARCH" = "aarch64"; then
|
||||
WIN32_SUBSYSTEM_VERSION=6.02
|
||||
else
|
||||
WIN32_SUBSYSTEM_VERSION=6.01
|
||||
fi
|
||||
WIN32_SUBSYSTEM_VERSION=10.0
|
||||
WIN32_CONSOLE_EXE_LDFLAGS=-SUBSYSTEM:CONSOLE,$WIN32_SUBSYSTEM_VERSION
|
||||
WIN32_GUI_EXE_LDFLAGS=-SUBSYSTEM:WINDOWS,$WIN32_SUBSYSTEM_VERSION
|
||||
DSO_LDOPTS=-SUBSYSTEM:WINDOWS,$WIN32_SUBSYSTEM_VERSION
|
||||
|
|
|
@ -447,12 +447,7 @@ case "$target" in
|
|||
LDFLAGS="$LDFLAGS -Wl,--no-insert-timestamp"
|
||||
else
|
||||
TARGET_COMPILER_ABI=msvc
|
||||
# aarch64 doesn't support subsystems below 6.02
|
||||
if test "$CPU_ARCH" = "aarch64"; then
|
||||
WIN32_SUBSYSTEM_VERSION=6.02
|
||||
else
|
||||
WIN32_SUBSYSTEM_VERSION=6.01
|
||||
fi
|
||||
WIN32_SUBSYSTEM_VERSION=10.0
|
||||
WIN32_CONSOLE_EXE_LDFLAGS=-SUBSYSTEM:CONSOLE,$WIN32_SUBSYSTEM_VERSION
|
||||
WIN32_GUI_EXE_LDFLAGS=-SUBSYSTEM:WINDOWS,$WIN32_SUBSYSTEM_VERSION
|
||||
DSO_LDOPTS=-SUBSYSTEM:WINDOWS,$WIN32_SUBSYSTEM_VERSION
|
||||
|
|
Загрузка…
Ссылка в новой задаче