1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Merge pull request #54394 from robfram/freebsd-llvm-no-atomic-lib

This commit is contained in:
Rémi Verschelde
2021-11-01 22:30:13 +01:00
committed by GitHub

View File

@@ -393,9 +393,9 @@ def configure(env):
# Link those statically for portability
if env["use_static_cpp"]:
env.Append(LINKFLAGS=["-static-libgcc", "-static-libstdc++"])
if env["use_llvm"]:
if env["use_llvm"] and platform.system() != "FreeBSD":
env["LINKCOM"] = env["LINKCOM"] + " -l:libatomic.a"
else:
if env["use_llvm"]:
if env["use_llvm"] and platform.system() != "FreeBSD":
env.Append(LIBS=["atomic"])