From 6a146d405c6c0070bfcfc312ec84f7006413239d Mon Sep 17 00:00:00 2001 From: Hein-Pieter van Braam-Stewart Date: Mon, 22 Feb 2021 17:09:30 +0100 Subject: Use -latomic when using clang (server platform) version of c9b3a00a63fafa546bf402e32fd21ebe7f274b43 for the server platform --- platform/server/detect.py | 1 + 1 file changed, 1 insertion(+) (limited to 'platform') 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"]) -- cgit v1.2.3