We can actually specify an old OS version perfectly well in the universal cross file, and it'll work for both slices (the ARM one will just get 11 instead). So do that, and document it. Also print out the target in the config summary.

This commit is contained in:
Chris Cannam
2021-09-08 11:23:23 +01:00
parent 60738167ce
commit 622bccd1fe
4 changed files with 37 additions and 31 deletions

View File

@@ -14,8 +14,8 @@ strip = 'strip'
pkgconfig = 'pkg-config'
[built-in options]
c_args = ['-arch', 'arm64', '-arch', 'x86_64']
cpp_args = ['-arch', 'arm64', '-arch', 'x86_64']
cpp_link_args = ['-arch', 'arm64', '-arch', 'x86_64']
c_args = ['-arch', 'arm64', '-arch', 'x86_64', '-mmacosx-version-min=10.7']
cpp_args = ['-arch', 'arm64', '-arch', 'x86_64', '-stdlib=libc++', '-mmacosx-version-min=10.7']
cpp_link_args = ['-arch', 'arm64', '-arch', 'x86_64', '-stdlib=libc++', '-mmacosx-version-min=10.7']

View File

@@ -15,6 +15,6 @@ pkgconfig = 'pkg-config'
[built-in options]
c_args = ['-arch', 'x86_64']
cpp_args = ['-arch', 'x86_64']
cpp_link_args = ['-arch', 'x86_64']
cpp_args = ['-arch', 'x86_64', '-stdlib=libc++']
cpp_link_args = ['-arch', 'x86_64', '-stdlib=libc++']