Bug 1836875 - Bump subsystem version to 8.1 to block Firefox from running on Windows 7/8. r=firefox-build-system-reviewers,glandium

We can't block Windows 8.1 until buildbots migrates into win-2022.
(bug 1837000)

Differential Revision: https://phabricator.services.mozilla.com/D180025
This commit is contained in:
Masatoshi Kimura 2023-07-02 10:10:47 +00:00
parent 0024eac2b4
commit 424038f49e
2 changed files with 4 additions and 12 deletions

View File

@ -379,12 +379,8 @@ 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
# Use subsystem version 6.03 to work around bug 1837000
WIN32_SUBSYSTEM_VERSION=6.03
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

View File

@ -447,12 +447,8 @@ 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
# Use subsystem version 6.03 to work around bug 1837000
WIN32_SUBSYSTEM_VERSION=6.03
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