llvm: fix cross from void musl
This commit is contained in:
parent
b450e4f01e
commit
746d4af16a
1 changed files with 5 additions and 1 deletions
|
@ -21,7 +21,11 @@ build() {
|
|||
-DCMAKE_CXX_COMPILER_WORKS=ON \
|
||||
-DCMAKE_SYSTEM_NAME=Linux \
|
||||
-DLLVM_TABLEGEN=$(pwd)/host-build/bin/llvm-tblgen \
|
||||
-DCLANG_TABLEGEN=$(pwd)/host-build/bin/clang-tblgen"
|
||||
-DCLANG_TABLEGEN=$(pwd)/host-build/bin/clang-tblgen \
|
||||
-DLLVM_CONFIG_PATH=/usr/bin/llvm-config \
|
||||
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \
|
||||
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
|
||||
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY"
|
||||
mkdir -p host-build
|
||||
cd host-build
|
||||
cmake -G Ninja -Wno-dev \
|
||||
|
|
Loading…
Reference in a new issue