summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-25 21:24:46 +0100
committerGitHub <noreply@github.com>2020-11-25 21:24:46 +0100
commit91f7df2b4c178b7d897bd34615a0217b77394343 (patch)
tree6c1f6877da7d7cf96c0e2b013cfe3273633d8ad8 /platform
parent613b76cfd5b57d6fb13f856ad149f2b47ca5dcb3 (diff)
parent09f3053450e36bba53b8e524503e3241455bbfbd (diff)
Merge pull request #43862 from akien-mga/linux-clang-TYPED_METHOD_BIND
SCons: Do not define TYPED_METHOD_BIND on Linux/clang
Diffstat (limited to 'platform')
-rw-r--r--platform/linuxbsd/detect.py1
-rw-r--r--platform/server/detect.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index a1bc5867c5..a8bc3a09f6 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 a3f60b0710..d9ac357679 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"]: