From c1a5e9f513eef85903b0e28bdab4453a625ec762 Mon Sep 17 00:00:00 2001 From: Gordon MacPherson Date: Sat, 15 Aug 2020 01:55:36 +0100 Subject: [PATCH] fixed linker being slow on OSX (cherry picked from commit 788c521ce84c40db4e7e02815d0cc06d020958ef) --- platform/osx/detect.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/osx/detect.py b/platform/osx/detect.py index a19f3b314d8..bb9e27da462 100644 --- a/platform/osx/detect.py +++ b/platform/osx/detect.py @@ -67,6 +67,7 @@ def configure(env): elif env["target"] == "debug": env.Prepend(CCFLAGS=["-g3"]) env.Prepend(CPPDEFINES=["DEBUG_ENABLED"]) + env.Prepend(LINKFLAGS=["-Xlinker", "-no_deduplicate"]) ## Architecture