Use -latomic when using clang (server platform)

version of c9b3a00a63 for the server
platform

(cherry picked from commit 6a146d405c)
This commit is contained in:
Hein-Pieter van Braam-Stewart 2021-02-22 17:09:30 +01:00 committed by Rémi Verschelde
parent e696e0e922
commit 5ff172e34d

View file

@ -92,6 +92,7 @@ def configure(env):
env["CC"] = "clang"
env["CXX"] = "clang++"
env.extra_suffix = ".llvm" + env.extra_suffix
env.Append(LIBS=["atomic"])
if env["use_ubsan"] or env["use_asan"] or env["use_lsan"] or env["use_tsan"]:
env.extra_suffix += "s"