diff options
author | Hein-Pieter van Braam-Stewart <hp@tmm.cx> | 2021-02-22 17:09:30 +0100 |
---|---|---|
committer | Hein-Pieter van Braam-Stewart <hp@tmm.cx> | 2021-02-22 17:09:30 +0100 |
commit | 6a146d405c6c0070bfcfc312ec84f7006413239d (patch) | |
tree | 1866dee4b12e760ed270a0b70dd994776c3be106 /platform | |
parent | cb29e6c49cde181999435c7f8284bce2d20ab7d8 (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.py | 1 |
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"]) |