Advertisement
dominus

Untitled

Nov 20th, 2020
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. OPT=' -g -O0 '
  2. SDK=' -isysroot /opt/SDKs/MacOSX11.0.sdk'
  3. export PATH=/opt/arm64/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
  4. export CC="/usr/bin/clang -arch arm64"
  5. export CXX="/usr/bin/clang++ -arch arm64"
  6. export CPPFLAGS='-I/opt/arm64/include '$SDK
  7. export CFLAGS='-I/opt/arm64/include '$SDK' '$OPT
  8. export CXXFLAGS='-I/opt/arm64/include '$SDK' '$OPT
  9. export LDFLAGS='-L/opt/arm64/lib '$SDK' '$OPT
  10. export PKG_CONFIG_PATH=
  11. ./autogen.sh
  12. ./configure --prefix=/opt/arm64 --host=arm-apple-darwin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement