You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
OSX: Pass -mmacosx-version-min=11.0 instead of 11.00
Both are recognized by Xcode and equivalent, but osxcross issues a warning for the latter: ``` osxcross: warning: '-mmacosx-version-min=' (11.0.0 != 11.00) ```
This commit is contained in:
@@ -78,9 +78,9 @@ def configure(env):
|
|||||||
env["osxcross"] = True
|
env["osxcross"] = True
|
||||||
|
|
||||||
if env["arch"] == "arm64":
|
if env["arch"] == "arm64":
|
||||||
print("Building for macOS 11.00+, platform arm64.")
|
print("Building for macOS 11.0+, platform arm64.")
|
||||||
env.Append(CCFLAGS=["-arch", "arm64", "-mmacosx-version-min=11.00"])
|
env.Append(CCFLAGS=["-arch", "arm64", "-mmacosx-version-min=11.0"])
|
||||||
env.Append(LINKFLAGS=["-arch", "arm64", "-mmacosx-version-min=11.00"])
|
env.Append(LINKFLAGS=["-arch", "arm64", "-mmacosx-version-min=11.0"])
|
||||||
else:
|
else:
|
||||||
print("Building for macOS 10.12+, platform x86_64.")
|
print("Building for macOS 10.12+, platform x86_64.")
|
||||||
env.Append(CCFLAGS=["-arch", "x86_64", "-mmacosx-version-min=10.12"])
|
env.Append(CCFLAGS=["-arch", "x86_64", "-mmacosx-version-min=10.12"])
|
||||||
|
|||||||
Reference in New Issue
Block a user