Merge pull request #43863 from akien-mga/3.2-TYPED_METHOD_BIND
SCons: Do not define TYPED_METHOD_BIND on Linux/OSX with clang
This commit is contained in:
commit
7b7ef98ec9
|
@ -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"
|
||||
|
||||
|
|
|
@ -93,8 +93,6 @@ def configure(env):
|
|||
if "clang++" not in os.path.basename(env["CXX"]):
|
||||
env["CC"] = "clang"
|
||||
env["CXX"] = "clang++"
|
||||
env["LINK"] = "clang++"
|
||||
env.Append(CPPDEFINES=["TYPED_METHOD_BIND"])
|
||||
env.extra_suffix = ".llvm" + env.extra_suffix
|
||||
|
||||
if env["use_ubsan"] or env["use_asan"] or env["use_lsan"] or env["use_tsan"]:
|
||||
|
|
|
@ -133,8 +133,6 @@ def configure(env):
|
|||
if "clang++" not in os.path.basename(env["CXX"]):
|
||||
env["CC"] = "clang"
|
||||
env["CXX"] = "clang++"
|
||||
env["LINK"] = "clang++"
|
||||
env.Append(CPPDEFINES=["TYPED_METHOD_BIND"])
|
||||
env.extra_suffix = ".llvm" + env.extra_suffix
|
||||
|
||||
if env["use_lld"]:
|
||||
|
|
Loading…
Reference in New Issue