File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 2626 echo "CC=aarch64-apple-darwin-clang" >> $GITHUB_ENV
2727 echo "CXX=aarch64-apple-darwin-clang++" >> $GITHUB_ENV
2828 echo "AR=aarch64-apple-darwin-ar" >> $GITHUB_ENV
29- echo "CFLAGS=-mmacosx-version-min=11.0 -arch arm64" >> $GITHUB_ENV
29+ echo "CFLAGS=-isysroot /usr/local/osxcross/target/SDK/MacOSX15.5.sdk -mmacosx-version-min=11.0 -arch arm64" >> $GITHUB_ENV
30+ echo "LDFLAGS=-isysroot /usr/local/osxcross/target/SDK/MacOSX15.5.sdk -arch arm64" >> $GITHUB_ENV
3031 echo "RUSTFLAGS=-C linker=aarch64-apple-darwin-clang" >> $GITHUB_ENV
32+ echo "MACOSX_DEPLOYMENT_TARGET=11.0" >> $GITHUB_ENV
33+ echo "OSXCROSS_NO_INCLUDE_PATHS=1" >> $GITHUB_ENV
34+ echo "SDKROOT=/usr/local/osxcross/target/SDK/MacOSX15.5.sdk" >> $GITHUB_ENV
35+
36+ - name : Verify osxcross toolchain
37+ run : |
38+ which aarch64-apple-darwin-clang
39+ aarch64-apple-darwin-clang --version
40+ aarch64-apple-darwin-clang -v -isysroot /usr/local/osxcross/target/SDK/MacOSX15.5.sdk -arch arm64 -mmacosx-version-min=11.0 -x c - -o /dev/null <<< "int main() {return 0;}"
3141
3242 - name : Build zAuth for macOS ARM
3343 run : |
You can’t perform that action at this time.
0 commit comments