You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
SCons: Process platform-specific flags earlier
Some of the logic in SCons depends on flags that get overridden in the platform-specific `detect.py`, so it needs to be processed first. For example the Android/iOS/Web platforms override the default `target` to `template_debug`, but this was processed too late so e.g. the logic that sets `env.editor_build` would set it to true due to the default `target` value in the environment being `editor`.
This commit is contained in:
@@ -68,7 +68,7 @@ def get_min_target_api():
|
||||
|
||||
def get_flags():
|
||||
return {
|
||||
"arch": "arm64", # Default for convenience.
|
||||
"arch": "arm64",
|
||||
"target": "template_debug",
|
||||
"supported": ["mono"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user