Add `-DWASI_SDK_INSTALL_TO_CLANG_RESOURCE_DIR=ON` to default instructions

For an in-place build this is what'll be necessary to get a fully
working compiler.
pull/658/head
Alex Crichton 2 days ago
parent 7aebf56a21
commit 295bffdce3

@ -76,7 +76,8 @@ cmake -G Ninja -B build/sysroot -S . \
-DCMAKE_INSTALL_PREFIX=build/install \
-DCMAKE_TOOLCHAIN_FILE=build/install/share/cmake/wasi-sdk-p2.cmake \
-DCMAKE_C_COMPILER_WORKS=ON \
-DCMAKE_CXX_COMPILER_WORKS=ON
-DCMAKE_CXX_COMPILER_WORKS=ON \
-DWASI_SDK_INSTALL_TO_CLANG_RESOURCE_DIR=ON
cmake --build build/sysroot --target install
```

Loading…
Cancel
Save