1
0
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:
marxin
2019-02-22 15:41:31 +01:00
parent 4f697f73a5
commit 0d2a105e6b
3 changed files with 10 additions and 6 deletions

View File

@@ -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"])