13
0

Set BigSur version compatibility

This commit is contained in:
Robin Gareus 2020-12-18 14:51:07 +01:00
parent 1737dc1869
commit 4f62726193
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -644,6 +644,12 @@ int main() { return 0; }''',
"-mmacosx-version-min=10.9")) "-mmacosx-version-min=10.9"))
linker_flags.append("-mmacosx-version-min=10.9") linker_flags.append("-mmacosx-version-min=10.9")
elif conf.env['build_target'] in ['bigsur']:
compiler_flags.extend(
("-DMAC_OS_X_VERSION_MAX_ALLOWED=110000",
"-mmacosx-version-min=11.0"))
linker_flags.append("-mmacosx-version-min=11.0")
# #
# save off CPU element in an env # save off CPU element in an env
# #