mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 22:23:07 +00:00
Linux: Remove use_static_cpp override on x86_32
After further testing it seems to work fine now when building binaries with GCC 5
on Ubuntu 16.04 (previously we were using GCC 9 on Ubuntu 14.04).
Follow-up to #45629.
(cherry picked from commit aa15ad72ee
)
This commit is contained in:
parent
5a26bcda12
commit
feac30b96a
@ -389,10 +389,7 @@ def configure(env):
|
|||||||
|
|
||||||
# Link those statically for portability
|
# Link those statically for portability
|
||||||
if env["use_static_cpp"]:
|
if env["use_static_cpp"]:
|
||||||
# Workaround for GH-31743, Ubuntu 18.04 i386 crashes when it's used.
|
env.Append(LINKFLAGS=["-static-libgcc", "-static-libstdc++"])
|
||||||
# That doesn't make any sense but it's likely a Ubuntu bug?
|
|
||||||
if is64 or env["bits"] == "64":
|
|
||||||
env.Append(LINKFLAGS=["-static-libgcc", "-static-libstdc++"])
|
|
||||||
if env["use_llvm"]:
|
if env["use_llvm"]:
|
||||||
env["LINKCOM"] = env["LINKCOM"] + " -l:libatomic.a"
|
env["LINKCOM"] = env["LINKCOM"] + " -l:libatomic.a"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user