Merge pull request #46321 from hpvb/fix-clang-atomic-server
Use -latomic when using clang (server platform)
This commit is contained in:
commit
98c63389d1
1 changed files with 1 additions and 0 deletions
|
@ -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"])
|
||||
|
|
Loading…
Reference in a new issue