Skip to content

Commit bea3bd8

Browse files
authored
Merge pull request #861 from crazywhalecc/fix/macos-ar
Add macOS AR and LD
2 parents 1c4a6ca + 99e8900 commit bea3bd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/env.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ SPC_TARGET=native-macos
124124
; compiler environments
125125
CC=clang
126126
CXX=clang++
127+
AR=ar
128+
LD=ld
127129
; default compiler flags, used in CMake toolchain file, openssl and pkg-config build
128130
SPC_DEFAULT_C_FLAGS="--target=${MAC_ARCH}-apple-darwin -Os"
129131
SPC_DEFAULT_CXX_FLAGS="--target=${MAC_ARCH}-apple-darwin -Os"

0 commit comments

Comments
 (0)