diff options
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: |