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:
Masatoshi Kimura 2023-07-14 18:45:24 +00:00
Родитель 68a11ce621
Коммит 7dead3b4c9
2 изменённых файлов: 2 добавлений и 12 удалений

Просмотреть файл

@ -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