mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Exclude atomic lib under FreeBSD using LLVM
This commit is contained in:
parent
9f74f0f6c5
commit
9faa92bda0
@ -405,9 +405,9 @@ def configure(env: "Environment"):
|
|||||||
# Link those statically for portability
|
# Link those statically for portability
|
||||||
if env["use_static_cpp"]:
|
if env["use_static_cpp"]:
|
||||||
env.Append(LINKFLAGS=["-static-libgcc", "-static-libstdc++"])
|
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"
|
env["LINKCOM"] = env["LINKCOM"] + " -l:libatomic.a"
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if env["use_llvm"]:
|
if env["use_llvm"] and platform.system() != "FreeBSD":
|
||||||
env.Append(LIBS=["atomic"])
|
env.Append(LIBS=["atomic"])
|
||||||
|
Loading…
Reference in New Issue
Block a user