Add support for LLVM/MinGW and ARM64 Windows builds.

(cherry picked from commit f2353da5a3)
This commit is contained in:
bruvzg
2024-06-20 09:38:54 +03:00
committed by David Snopek
parent 1cce4d15ab
commit 20459da676
2 changed files with 48 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ def generate(env):
else:
env.Append(CCFLAGS=["-g2"])
else:
if using_clang(env) and not is_vanilla_clang(env):
if using_clang(env) and not is_vanilla_clang(env) and not env["use_mingw"]:
# Apple Clang, its linker doesn't like -s.
env.Append(LINKFLAGS=["-Wl,-S", "-Wl,-x", "-Wl,-dead_strip"])
else: