Merge pull request #46255 from hpvb/fix-clang-atomic

Use -latomic when linking whe using clang on Linux
This commit is contained in:
Rémi Verschelde 2021-02-20 16:59:28 +01:00 committed by GitHub
commit 29d5976d92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"]: