2023-01-09 22:50:26 +01:00
|
|
|
# cross file for compiling on MacOS ARM (Apple Sillicon).
|
2024-10-22 17:53:17 +02:00
|
|
|
# use this file by running meson setup --cross-file resources/cross/darwin-aarch64.txt <builddir>
|
2023-01-09 22:50:26 +01:00
|
|
|
|
2022-10-30 16:48:20 +01:00
|
|
|
[host_machine]
|
|
|
|
system = 'darwin'
|
|
|
|
cpu_family = 'aarch64'
|
|
|
|
cpu = 'arm64'
|
|
|
|
endian = 'little'
|
|
|
|
|
|
|
|
[binaries]
|
|
|
|
c = ['clang']
|
|
|
|
cpp = ['clang++']
|
|
|
|
objc = ['clang']
|
|
|
|
objcpp = ['clang++']
|
|
|
|
ar = ['ar']
|
|
|
|
strip = ['strip']
|
|
|
|
pkgconfig = ['pkg-config']
|
|
|
|
|
|
|
|
[built-in options]
|
|
|
|
c_args = ['-arch', 'arm64']
|
|
|
|
cpp_args = ['-stdlib=libc++', '-arch', 'arm64']
|
|
|
|
objc_args = ['-arch', 'arm64']
|
|
|
|
objcpp_args = ['-stdlib=libc++', '-arch', 'arm64']
|
|
|
|
c_link_args = ['-arch', 'arm64']
|
|
|
|
cpp_link_args = ['-arch', 'arm64']
|
|
|
|
objc_link_args = ['-arch', 'arm64']
|
|
|
|
objcpp_link_args = ['-arch', 'arm64']
|