SCons: Do not define TYPED_METHOD_BIND on Linux/OSX with clang

Port of #43862.
This commit is contained in:
Rémi Verschelde
2020-11-25 19:34:08 +01:00
parent 83f7c2d957
commit 0b38c50311
3 changed files with 0 additions and 9 deletions

View File

@ -132,11 +132,6 @@ def configure(env):
env["AS"] = basecmd + "as"
env.Append(CPPDEFINES=["__MACPORTS__"]) # hack to fix libvpx MM256_BROADCASTSI128_SI256 define
if env["CXX"] == "clang++":
env.Append(CPPDEFINES=["TYPED_METHOD_BIND"])
env["CC"] = "clang"
env["LINK"] = "clang++"
if env["use_ubsan"] or env["use_asan"] or env["use_tsan"]:
env.extra_suffix += "s"