Skip to content

Instantly share code, notes, and snippets.

@Quackdoc
Created August 19, 2023 09:18
Show Gist options
  • Save Quackdoc/80c6a6da81530f5ee4e76a612938f71a to your computer and use it in GitHub Desktop.
Save Quackdoc/80c6a6da81530f5ee4e76a612938f71a to your computer and use it in GitHub Desktop.
m1 cross file
[binaries]
c = '/usr/bin/clang'
cpp = '/usr/bin/clang++'
cld = '/usr/bin/ld64'
cppldd = '/usr/bin/ld64'
ar = '/usr/bin/ar'
strip = '/usr/bin/strip'
[properties]
skip_sanity_check = true
[host_machine]
system = 'darwin'
cpu_family = 'arm64'
cpu = 'arm64'
endian = 'little'
[built-in options]
c_args = ['-arch', 'arm64', '-target', 'arm64-apple-macos11' ]
cpp_args = ['-arch', 'arm64', '-target', 'arm64-apple-macos11']
c_link_args = ['-arch', 'arm64', '-mmacosx-version-min=11.0']
cpp_link_args = ['-arch', 'arm64', '-mmacosx-version-min=11.0']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment