Enable /guard:signret on Windows ARM64

This commit is contained in:
Cameron Gutman committed 2026-11-11 11:17:43 -06:00
1 parent 4113dd26be
commit 10523db24d
3 files changed
+8 -3

No files matched your search

+6 -1
View File
@@ -9,7 +9,7 @@ CONFIG(release, debug|release) {
DEFINES += NDEBUG
}
# Enable CFG, EHCont, and CET
# Enable CFG, EHCont, PAC, and CET
*-msvc {
QMAKE_CFLAGS += -guard:cf -guard:ehcont
QMAKE_CXXFLAGS += -guard:cf -guard:ehcont
@@ -18,6 +18,11 @@ CONFIG(release, debug|release) {
contains(QT_ARCH, x86_64) {
QMAKE_LFLAGS += -cetcompat
}
contains(QT_ARCH, arm64) {
QMAKE_CFLAGS += -guard:signret
QMAKE_CXXFLAGS += -guard:signret
}
}
# Enable ASan for Linux or macOS
+1 -1
View File
@@ -4,7 +4,7 @@ $Organization = "moonlight-stream"
$PrebuiltRepo = "moonlight-qt-deps"
$TargetDir = Join-Path $PSScriptRoot "libs\windows"
$Assets = @("windows-x64.zip", "windows-ARM64.zip")
$Tag = "v20"
$Tag = "v20.1"
if (Test-Path $TargetDir) {
Write-Host "Cleaning target directory..." -ForegroundColor Cyan
+1 -1
View File
@@ -7,7 +7,7 @@ import shutil
ORGANIZATION = "moonlight-stream"
PREBUILT_REPO = "moonlight-qt-deps"
TAG = "v20"
TAG = "v20.1"
def get_platform_config():
system = platform.system()