mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-11-26 15:55:14 +00:00
Enable /guard:signret on Windows ARM64
This commit is contained in:
1 parent
4113dd26be
commit
10523db24d
3 files changed
+8
-3
No files matched your search
+6
-1
@@ -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
@@ -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
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user