From 09f3053450e36bba53b8e524503e3241455bbfbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 25 Nov 2020 19:27:21 +0100 Subject: [PATCH] SCons: Do not define TYPED_METHOD_BIND on Linux/clang It's now only needed for MSVC. --- platform/linuxbsd/detect.py | 1 - platform/server/detect.py | 1 - 2 files changed, 2 deletions(-) diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py index a1bc5867c56..a8bc3a09f6f 100644 --- a/platform/linuxbsd/detect.py +++ b/platform/linuxbsd/detect.py @@ -129,7 +129,6 @@ def configure(env): if "clang++" not in os.path.basename(env["CXX"]): env["CC"] = "clang" env["CXX"] = "clang++" - env.Append(CPPDEFINES=["TYPED_METHOD_BIND"]) env.extra_suffix = ".llvm" + env.extra_suffix if env["use_lld"]: diff --git a/platform/server/detect.py b/platform/server/detect.py index a3f60b07104..d9ac3576791 100644 --- a/platform/server/detect.py +++ b/platform/server/detect.py @@ -94,7 +94,6 @@ def configure(env): if "clang++" not in os.path.basename(env["CXX"]): env["CC"] = "clang" env["CXX"] = "clang++" - env.Append(CPPDEFINES=["TYPED_METHOD_BIND"]) env.extra_suffix = ".llvm" + env.extra_suffix if env["use_coverage"]: