Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OPT=' -g -O0 '
- SDK=' -isysroot /opt/SDKs/MacOSX11.0.sdk'
- export PATH=/opt/arm64/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
- export CC="/usr/bin/clang -arch arm64"
- export CXX="/usr/bin/clang++ -arch arm64"
- export CPPFLAGS='-I/opt/arm64/include '$SDK
- export CFLAGS='-I/opt/arm64/include '$SDK' '$OPT
- export CXXFLAGS='-I/opt/arm64/include '$SDK' '$OPT
- export LDFLAGS='-L/opt/arm64/lib '$SDK' '$OPT
- export PKG_CONFIG_PATH=
- ./autogen.sh
- ./configure --prefix=/opt/arm64 --host=arm-apple-darwin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement