mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 13:21:10 +01:00
Fix compile when using llvm on linux.
This commit is contained in:
parent
e419b12067
commit
d4c57cf537
@ -234,7 +234,8 @@ def configure(env):
|
||||
if env["use_static_cpp"]:
|
||||
env.Append(LINKFLAGS=["-static-libgcc", "-static-libstdc++"])
|
||||
if env["use_llvm"] and platform.system() != "FreeBSD":
|
||||
env["LINKCOM"] = env["LINKCOM"] + " -l:libatomic.a"
|
||||
#env["LINKCOM"] = env["LINKCOM"] + " -l:libatomic.a"
|
||||
env["LINKCOM"] = env["LINKCOM"] + " -latomic"
|
||||
else:
|
||||
if env["use_llvm"] and platform.system() != "FreeBSD":
|
||||
env.Append(LIBS=["atomic"])
|
||||
|
@ -374,7 +374,8 @@ def configure(env):
|
||||
if env["use_static_cpp"]:
|
||||
env.Append(LINKFLAGS=["-static-libgcc", "-static-libstdc++"])
|
||||
if env["use_llvm"] and platform.system() != "FreeBSD":
|
||||
env["LINKCOM"] = env["LINKCOM"] + " -l:libatomic.a"
|
||||
#env["LINKCOM"] = env["LINKCOM"] + " -l:libatomic.a"
|
||||
env["LINKCOM"] = env["LINKCOM"] + " -latomic"
|
||||
|
||||
else:
|
||||
if env["use_llvm"] and platform.system() != "FreeBSD":
|
||||
|
Loading…
Reference in New Issue
Block a user