Browse Source

fixed linker being slow on OSX

Gordon MacPherson 5 years ago
parent
commit
788c521ce8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      platform/osx/detect.py

+ 1 - 0
platform/osx/detect.py

@@ -76,6 +76,7 @@ def configure(env):
     elif env["target"] == "debug":
         env.Prepend(CCFLAGS=["-g3"])
         env.Prepend(CPPDEFINES=["DEBUG_ENABLED"])
+        env.Prepend(LINKFLAGS=["-Xlinker", "-no_deduplicate"])
 
     ## Architecture