mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
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:
parent
0024eac2b4
commit
424038f49e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user