Add macOS AR and LD

This commit is contained in:
crazywhalecc 2025-08-22 13:19:42 +08:00
parent 1c4a6ca02e
commit 99e8900aba
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

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"