Merge pull request #861 from crazywhalecc/fix/macos-ar

Add macOS AR and LD
This commit is contained in:
Marc
2025-08-22 07:23:49 +02:00
committed by GitHub

View File

@@ -124,6 +124,8 @@ SPC_TARGET=native-macos
; compiler environments
CC=clang
CXX=clang++
AR=ar
LD=ld
; default compiler flags, used in CMake toolchain file, openssl and pkg-config build
SPC_DEFAULT_C_FLAGS="--target=${MAC_ARCH}-apple-darwin -Os"
SPC_DEFAULT_CXX_FLAGS="--target=${MAC_ARCH}-apple-darwin -Os"