Skip to content

Commit

Permalink
Disable ar thin LTO as it is failing with GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
jss2a98aj committed Dec 7, 2024
1 parent 5ec8177 commit 4a41e26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions platform/windows/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,9 @@ def configure_mingw(env: "SConsEnvironment"):
if env["use_llvm"] and os.name == "nt" and methods._colorize:
env.Append(CCFLAGS=["$(-fansi-escape-codes$)", "$(-fcolor-diagnostics$)"])

if get_is_ar_thin_supported(env):
env.Append(ARFLAGS=["--thin"])
# Disabled until GCC stops failing with ar --thin
# if get_is_ar_thin_supported(env):
# env.Append(ARFLAGS=["--thin"])

env.Append(CPPDEFINES=["WINDOWS_ENABLED", "WASAPI_ENABLED", "WINMIDI_ENABLED"])
env.Append(
Expand Down

0 comments on commit 4a41e26

Please sign in to comment.