libcxx: use CC and CXX
This commit is contained in:
parent
b4e372d713
commit
a70c3b89a5
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ build() {
|
|||
-DLIBCXXABI_USE_LLVM_UNWINDER=ON \
|
||||
-DLIBCXX_ENABLE_STATIC=OFF \
|
||||
-DLIBCXX_HAS_ATOMIC_LIB=OFF \
|
||||
-DCMAKE_C_COMPILER=clang \
|
||||
-DCMAKE_CXX_COMPILER=clang++ \
|
||||
-DCMAKE_C_COMPILER=$CC \
|
||||
-DCMAKE_CXX_COMPILER=$CXX \
|
||||
-DCMAKE_C_COMPILER_TARGET=$ARCH-linux-musl \
|
||||
-DCMAKE_CXX_COMPILER_TARGET=$ARCH-linux-musl \
|
||||
-DCMAKE_C_FLAGS="$CFLAGS" \
|
||||
|
|
Loading…
Reference in a new issue