13
0

MacOS/Intel build compat with OS 10.11

This commit is contained in:
Robin Gareus 2023-09-23 14:06:19 +02:00
parent 616273cfab
commit e40000e90c
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -684,6 +684,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'] and not opt.arm64:
compiler_flags.extend(
("-DMAC_OS_X_VERSION_MAX_ALLOWED=101100",
"-mmacosx-version-min=10.11"))
linker_flags.append("-mmacosx-version-min=10.11")
elif conf.env['build_target'] in ['bigsur', 'monterey', 'ventura']: elif conf.env['build_target'] in ['bigsur', 'monterey', 'ventura']:
compiler_flags.extend( compiler_flags.extend(
("-DMAC_OS_X_VERSION_MAX_ALLOWED=110000", ("-DMAC_OS_X_VERSION_MAX_ALLOWED=110000",