Add homebrew llvm version toolchain support

This commit is contained in:
crazywhalecc
2026-03-20 11:20:42 +08:00
parent 00649d816e
commit e9be3a41db
4 changed files with 42 additions and 1 deletions

View File

@@ -134,6 +134,8 @@ OPENSSLDIR=""
; build target: macho or macho (possibly we could support macho-universal in the future)
; Currently we do not support universal and cross-compilation for macOS.
SPC_TARGET=native-macos
; Whether to use brew version of llvm or system version (valid options: 'system', 'brew', default: 'system')
SPC_USE_LLVM=system
; compiler environments (default value is defined by selected toolchain)
CC=${SPC_DEFAULT_CC}
CXX=${SPC_DEFAULT_CXX}