Merge pull request #46254 from hpvb/fix-clang-atomic_32
[3.2] Use -latomic when linking whe using clang on Linux
This commit is contained in:
commit
029f559384
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,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