Merge pull request #46321 from hpvb/fix-clang-atomic-server

Use -latomic when using clang (server platform)
This commit is contained in:
Rémi Verschelde 2021-02-22 17:24:54 +01:00 committed by GitHub
commit 98c63389d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,7 @@ def configure(env):
env["CC"] = "clang"
env["CXX"] = "clang++"
env.extra_suffix = ".llvm" + env.extra_suffix
env.Append(LIBS=["atomic"])
if env["use_coverage"]:
env.Append(CCFLAGS=["-ftest-coverage", "-fprofile-arcs"])