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
commit bea3bd8392
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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"