|
|
@ -21,7 +21,7 @@ build/llvm.BUILT:
|
|
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=$(PREFIX) \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=$(PREFIX) \
|
|
|
|
-DLLVM_TARGETS_TO_BUILD=WebAssembly \
|
|
|
|
-DLLVM_TARGETS_TO_BUILD=WebAssembly \
|
|
|
|
-DLLVM_DEFAULT_TARGET_TRIPLE=wasm32-unknown-wasi \
|
|
|
|
-DLLVM_DEFAULT_TARGET_TRIPLE=wasm32-wasi \
|
|
|
|
-DLLVM_EXTERNAL_CLANG_SOURCE_DIR=$(LLVM_PROJ_DIR)/clang \
|
|
|
|
-DLLVM_EXTERNAL_CLANG_SOURCE_DIR=$(LLVM_PROJ_DIR)/clang \
|
|
|
|
-DLLVM_EXTERNAL_LLD_SOURCE_DIR=$(LLVM_PROJ_DIR)/lld \
|
|
|
|
-DLLVM_EXTERNAL_LLD_SOURCE_DIR=$(LLVM_PROJ_DIR)/lld \
|
|
|
|
-DLLVM_ENABLE_PROJECTS="lld;clang" \
|
|
|
|
-DLLVM_ENABLE_PROJECTS="lld;clang" \
|
|
|
|