Browse Source

Merge pull request #46254 from hpvb/fix-clang-atomic_32

[3.2] Use -latomic when linking whe using clang on Linux
Rémi Verschelde 4 years ago
parent
commit
029f559384
1 changed files with 1 additions and 0 deletions
  1. 1 0
      platform/x11/detect.py

+ 1 - 0
platform/x11/detect.py

@@ -129,6 +129,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"]: