diff options
author | David Snopek <dsnopek@gmail.com> | 2024-09-10 15:48:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-10 15:48:22 -0500 |
commit | 4d8c05f405929480ef2eed7300447c4647da2d6f (patch) | |
tree | fedc960fc79bbf74cbd67a4ef47702f93e8b8233 /tools/common_compiler_flags.py | |
parent | f4d3817d99e0ebb9687c8597cab29d4989e09a13 (diff) | |
parent | f2353da5a35a5397a02d4fb47250244c988cfaeb (diff) | |
download | redot-cpp-4d8c05f405929480ef2eed7300447c4647da2d6f.tar.gz |
Merge pull request #1535 from bruvzg/llvm-mingw-arm64
Add support for LLVM/MinGW and ARM64 Windows builds.
Diffstat (limited to 'tools/common_compiler_flags.py')
-rw-r--r-- | tools/common_compiler_flags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/common_compiler_flags.py b/tools/common_compiler_flags.py index 5bade45..6a1fb69 100644 --- a/tools/common_compiler_flags.py +++ b/tools/common_compiler_flags.py @@ -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: |