File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 3939 export CC=$(find "$TOOLCHAIN" \( -type f -o -type l \) -name 'aarch64-apple-darwin*-clang' | head -n 1)
4040 export CXX=$(find "$TOOLCHAIN" \( -type f -o -type l \) -name 'aarch64-apple-darwin*-clang++' | head -n 1)
4141 export AR=$(find "$TOOLCHAIN" \( -type f -o -type l \) -name 'aarch64-apple-darwin*-ar' | head -n 1)
42+ export AR_aarch64_apple_darwin=$AR
43+ export CFLAGS_aarch64_apple_darwin="$CFLAGS"
44+ export LDFLAGS_aarch64_apple_darwin="$LDFLAGS"
4245
4346 if [ -z "$CC" ]; then
4447 echo "Error: couldn't find aarch64 clang in $TOOLCHAIN"
4750 fi
4851
4952 export SDKROOT=$(dirname $(dirname $TOOLCHAIN))/SDK/MacOSX${SDK_VERSION}.sdk
53+ ls -l "$SDKROOT"
5054 export MACOSX_DEPLOYMENT_TARGET=11.0
5155 export CFLAGS="-isysroot $SDKROOT -arch arm64 -mmacosx-version-min=11.0"
5256 export LDFLAGS="-isysroot $SDKROOT -arch arm64"
You can’t perform that action at this time.
0 commit comments