summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorHein-Pieter van Braam-Stewart <hp@tmm.cx>2021-02-22 17:09:30 +0100
committerHein-Pieter van Braam-Stewart <hp@tmm.cx>2021-02-22 17:09:30 +0100
commit6a146d405c6c0070bfcfc312ec84f7006413239d (patch)
tree1866dee4b12e760ed270a0b70dd994776c3be106 /platform
parentcb29e6c49cde181999435c7f8284bce2d20ab7d8 (diff)
Use -latomic when using clang (server platform)
version of c9b3a00a63fafa546bf402e32fd21ebe7f274b43 for the server platform
Diffstat (limited to 'platform')
-rw-r--r--platform/server/detect.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/server/detect.py b/platform/server/detect.py
index 1c3fa990fe..5be7e81e7a 100644
--- a/platform/server/detect.py
+++ b/platform/server/detect.py
@@ -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"])