diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-20 16:59:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-20 16:59:28 +0100 |
commit | 29d5976d929674550d785a1c5971a223f2e1e88e (patch) | |
tree | f2201a444236487b23a3c96b989a8e7cd2cf6f3e | |
parent | ed8333f6bc7d0f6b721a5ddf610f1e76793cb78e (diff) | |
parent | c9b3a00a63fafa546bf402e32fd21ebe7f274b43 (diff) |
Merge pull request #46255 from hpvb/fix-clang-atomic
Use -latomic when linking whe using clang on Linux
-rw-r--r-- | platform/linuxbsd/detect.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py index f87e9cf886..ff521e4e7f 100644 --- a/platform/linuxbsd/detect.py +++ b/platform/linuxbsd/detect.py @@ -127,6 +127,7 @@ def configure(env): env["CC"] = "clang" env["CXX"] = "clang++" env.extra_suffix = ".llvm" + env.extra_suffix + env.Append(LIBS=["atomic"]) if env["use_lld"]: if env["use_llvm"]: |