13
0

C++17 requires macOS 10.13 or later

This commit is contained in:
Robin Gareus 2024-10-15 00:35:50 +02:00
parent b7249c8fe7
commit 3171eb5aa1
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -748,9 +748,9 @@ int main() { return 0; }''',
elif conf.env['build_target'] in ['bigsur'] and not opt.arm64: elif conf.env['build_target'] in ['bigsur'] and not opt.arm64:
compiler_flags.extend( compiler_flags.extend(
("-DMAC_OS_X_VERSION_MAX_ALLOWED=101100", ("-DMAC_OS_X_VERSION_MAX_ALLOWED=101300",
"-mmacosx-version-min=10.11")) "-mmacosx-version-min=10.13"))
linker_flags.append("-mmacosx-version-min=10.11") linker_flags.append("-mmacosx-version-min=10.13")
elif conf.env['build_target'] in ['bigsur', 'monterey', 'ventura', 'sonoma', 'sequoia']: elif conf.env['build_target'] in ['bigsur', 'monterey', 'ventura', 'sonoma', 'sequoia']:
compiler_flags.extend( compiler_flags.extend(