Explorar o código

fixed linker being slow on OSX

(cherry picked from commit 788c521ce84c40db4e7e02815d0cc06d020958ef)
Gordon MacPherson %!s(int64=5) %!d(string=hai) anos
pai
achega
c1a5e9f513
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      platform/osx/detect.py

+ 1 - 0
platform/osx/detect.py

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