You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Come up with use_gcc.
Add new method. Fix wrong version condition for -fpie.
This commit is contained in:
@@ -667,3 +667,6 @@ def get_compiler_version(env):
|
||||
return match.group().split('.')
|
||||
else:
|
||||
return None
|
||||
|
||||
def use_gcc(env):
|
||||
return 'gcc' in os.path.basename(env["CC"])
|
||||
|
||||
Reference in New Issue
Block a user