llvm: specify cc explicitly

This commit is contained in:
Ella Stanforth 2022-04-20 19:17:14 +00:00
parent b71e91c8b7
commit 631b9634ed

View file

@ -40,6 +40,8 @@ build() {
cmake -G Ninja -Wno-dev \ cmake -G Ninja -Wno-dev \
-DCMAKE_C_COMPILER_TARGET=$TRIPLE \ -DCMAKE_C_COMPILER_TARGET=$TRIPLE \
-DCMAKE_CXX_COMPILER_TARGET=$TRIPLE \ -DCMAKE_CXX_COMPILER_TARGET=$TRIPLE \
-DCMAKE_C_COMPILER=$CC \
-DCMAKE_CXX_COMPILER=$CXX \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DLLVM_VERSION_SUFFIX="" \ -DLLVM_VERSION_SUFFIX="" \