summaryrefslogtreecommitdiffstats
path: root/tools/common_compiler_flags.py
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2024-09-10 15:48:22 -0500
committerGitHub <noreply@github.com>2024-09-10 15:48:22 -0500
commit4d8c05f405929480ef2eed7300447c4647da2d6f (patch)
treefedc960fc79bbf74cbd67a4ef47702f93e8b8233 /tools/common_compiler_flags.py
parentf4d3817d99e0ebb9687c8597cab29d4989e09a13 (diff)
parentf2353da5a35a5397a02d4fb47250244c988cfaeb (diff)
downloadredot-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.py2
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: