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
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ def configure(env):
|
|||
env["CC"] = "clang"
|
||||
env["CXX"] = "clang++"
|
||||
env.extra_suffix = ".llvm" + env.extra_suffix
|
||||
env.Append(LIBS=["atomic"])
|
||||
|
||||
if env["use_lld"]:
|
||||
if env["use_llvm"]:
|
||||
|
|
Loading…
Reference in a new issue