Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add missing flags to ARFLAGS
  • Loading branch information
LeonarddeR committed Jul 16, 2025
commit fcdb073b7dc8dc846033f3f96d23cb1cc53df1f4
9 changes: 8 additions & 1 deletion nvdaHelper/archBuild_sconscript
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,15 @@ env.Append(
"/incremental:no",
"/WX",
subsystem,
"/release", # We always want a checksum in the header
]
)
env.Append(
ARFLAGS=[
"/WX",
subsystem,
]
)
env.Append(LINKFLAGS="/release") # We always want a checksum in the header
if TARGET_ARCH == "x86_64":
env.Append(MIDLFLAGS="/x64")
elif TARGET_ARCH == "arm64":
Expand All @@ -116,6 +122,7 @@ else:
env.Append(CCFLAGS="/O2")
env.Append(CCFLAGS="/GL")
env.Append(LINKFLAGS=["/LTCG"])
env.Append(ARFLAGS=["/LTCG"])

if "debugCRT" not in debug:
env.Append(CPPDEFINES="NDEBUG")
Expand Down