Merge pull request #57809 from akien-mga/osx-11.00-warning

This commit is contained in:
Rémi Verschelde 2022-02-08 17:32:49 +01:00 committed by GitHub
commit 592e92d938
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,9 +78,9 @@ def configure(env):
env["osxcross"] = True
if env["arch"] == "arm64":
print("Building for macOS 11.00+, platform arm64.")
env.Append(CCFLAGS=["-arch", "arm64", "-mmacosx-version-min=11.00"])
env.Append(LINKFLAGS=["-arch", "arm64", "-mmacosx-version-min=11.00"])
print("Building for macOS 11.0+, platform arm64.")
env.Append(CCFLAGS=["-arch", "arm64", "-mmacosx-version-min=11.0"])
env.Append(LINKFLAGS=["-arch", "arm64", "-mmacosx-version-min=11.0"])
else:
print("Building for macOS 10.12+, platform x86_64.")
env.Append(CCFLAGS=["-arch", "x86_64", "-mmacosx-version-min=10.12"])