summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-08-15 17:20:53 +0200
committerGitHub <noreply@github.com>2020-08-15 17:20:53 +0200
commitdfc0986ae150e87f41fac84ab607ddd70cee9f3f (patch)
tree3e06923dcf6451deb1b2ac3ec5343ef10c54089e
parente264d04c94ff58030795f5d0426befd3323a377b (diff)
parent788c521ce84c40db4e7e02815d0cc06d020958ef (diff)
Merge pull request #41273 from RevoluPowered/fix_linker_flags
fixed linker being slow on OSX
-rw-r--r--platform/osx/detect.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/osx/detect.py b/platform/osx/detect.py
index 272ae1b620..a4a382f3a9 100644
--- a/platform/osx/detect.py
+++ b/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