Skip to content

Instantly share code, notes, and snippets.

@jeanthom
Created February 10, 2025 21:26
Show Gist options
  • Save jeanthom/ec11662c76da7a2ada7bf1e9a70e7116 to your computer and use it in GitHub Desktop.
Save jeanthom/ec11662c76da7a2ada7bf1e9a70e7116 to your computer and use it in GitHub Desktop.
meson cross macos arm64
[binaries]
c = ['clang', '-arch', 'arm64', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk']
cpp = ['clang++', '-arch', 'arm64', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk']
objc = ['clang', '-arch', 'arm64', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk']
objcpp = ['clang', '-arch', 'arm64', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk']
ar = 'ar'
strip = 'strip'
[host_machine]
system = 'darwin'
subsystem = 'macos'
kernel = 'xnu'
cpu_family = 'arm'
cpu = 'arm64'
endian = 'little'
[built-in options]
cpp_args = ['--target=arm64-apple-macos14']
c_args = ['--target=arm64-apple-macos14']
objc_args = ['--target=arm64-apple-macos14']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment