You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix: Libgodot build on Linux.
This commit is contained in:
@@ -182,6 +182,9 @@ def configure(env: "SConsEnvironment"):
|
||||
|
||||
env.Append(CCFLAGS=["-ffp-contract=off"])
|
||||
|
||||
if env["library_type"] == "shared_library":
|
||||
env.Append(CCFLAGS=["-fPIC"])
|
||||
|
||||
# LTO
|
||||
|
||||
if env["lto"] == "auto": # Enable LTO for production.
|
||||
|
||||
Reference in New Issue
Block a user