Skip to content

Commit

Permalink
llvm: add c compiler target flag for compiler-rt build
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Feb 19, 2024
1 parent 0b67978 commit 022ab93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LLVM.makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down

0 comments on commit 022ab93

Please sign in to comment.