You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Merge pull request #110863 from kisg/libgodot_migeran_core
LibGodot: Core - Build Godot Engine as a Library
This commit is contained in:
@@ -61,7 +61,7 @@ def get_flags():
|
||||
"arch": detect_arch(),
|
||||
"use_volk": False,
|
||||
"metal": True,
|
||||
"supported": ["metal", "mono"],
|
||||
"supported": ["library", "metal", "mono"],
|
||||
}
|
||||
|
||||
|
||||
@@ -172,8 +172,9 @@ def configure(env: "SConsEnvironment"):
|
||||
env.Append(CCFLAGS=["-fsanitize=thread"])
|
||||
env.Append(LINKFLAGS=["-fsanitize=thread"])
|
||||
|
||||
env.Append(LINKFLAGS=["-Wl,-stack_size," + hex(STACK_SIZE_SANITIZERS)])
|
||||
else:
|
||||
if env["library_type"] == "executable":
|
||||
env.Append(LINKFLAGS=["-Wl,-stack_size," + hex(STACK_SIZE_SANITIZERS)])
|
||||
elif env["library_type"] == "executable":
|
||||
env.Append(LINKFLAGS=["-Wl,-stack_size," + hex(STACK_SIZE)])
|
||||
|
||||
if env["use_coverage"]:
|
||||
|
||||
Reference in New Issue
Block a user