Browse Source

Merge pull request #48210 from akien-mga/linux-static_cpp-32-bit

Linux: Remove use_static_cpp override on x86_32
Rémi Verschelde 4 years ago
parent
commit
eb74784839
1 changed files with 1 additions and 4 deletions
  1. 1 4
      platform/linuxbsd/detect.py

+ 1 - 4
platform/linuxbsd/detect.py

@@ -408,10 +408,7 @@ def configure(env):
 
     # Link those statically for portability
     if env["use_static_cpp"]:
-        # Workaround for GH-31743, Ubuntu 18.04 i386 crashes when it's used.
-        # 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++"])
+        env.Append(LINKFLAGS=["-static-libgcc", "-static-libstdc++"])
         if env["use_llvm"]:
             env["LINKCOM"] = env["LINKCOM"] + " -l:libatomic.a"