diff --git a/LLVM.makefile b/LLVM.makefile index d002a44..af8a3fc 100644 --- a/LLVM.makefile +++ b/LLVM.makefile @@ -110,6 +110,7 @@ $(BUILD_DIR)/compiler-rt.BUILT: $(BUILD_DIR)/llvm.BUILT cd $(BUILD_DIR)/compiler-rt; cmake -G Ninja \ -DCMAKE_SYSROOT=${FAASM_SYSROOT} \ -DCMAKE_C_COMPILER_WORKS=ON \ + -DCMAKE_C_COMPILER_TARGET=wasm32-wasi \ -DCMAKE_CXX_COMPILER_WORKS=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_TOOLCHAIN_FILE=${FAASM_TOOLCHAIN_FILE} \