Merge pull request #46255 from hpvb/fix-clang-atomic
Use -latomic when linking whe using clang on Linux
This commit is contained in:
commit
29d5976d92
@ -127,6 +127,7 @@ def configure(env):
|
|||||||
env["CC"] = "clang"
|
env["CC"] = "clang"
|
||||||
env["CXX"] = "clang++"
|
env["CXX"] = "clang++"
|
||||||
env.extra_suffix = ".llvm" + env.extra_suffix
|
env.extra_suffix = ".llvm" + env.extra_suffix
|
||||||
|
env.Append(LIBS=["atomic"])
|
||||||
|
|
||||||
if env["use_lld"]:
|
if env["use_lld"]:
|
||||||
if env["use_llvm"]:
|
if env["use_llvm"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user