From 788c521ce84c40db4e7e02815d0cc06d020958ef 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 --- platform/osx/detect.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/osx/detect.py b/platform/osx/detect.py index 272ae1b6205..a4a382f3a9c 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