llvm: specify cc explicitly
This commit is contained in:
parent
b71e91c8b7
commit
631b9634ed
1 changed files with 2 additions and 0 deletions
|
@ -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="" \
|
||||||
|
|
Loading…
Reference in a new issue