makefile: point at actual install loc of tools; drop llvm- on ar and nm

thanks dan for pointing out we dont need the prefix
pch/compnerd_cmake_integration
Pat Hickey 5 years ago
parent cc17310f28
commit c24740355d

@ -55,9 +55,9 @@ build/wasi-libc.BUILT: build/llvm.BUILT
cmake -G Ninja \
--install \
-DCMAKE_SYSTEM_NAME=Generic \
-DCMAKE_AR=$(ROOT_DIR)/bin/llvm-ar \
-DCMAKE_NM=$(ROOT_DIR)/bin/llvm-nm \
-DCMAKE_C_COMPILER=$(ROOT_DIR)/bin/clang \
-DCMAKE_AR=$(PREFIX)/bin/ar \
-DCMAKE_NM=$(PREFIX)/bin/nm \
-DCMAKE_C_COMPILER=$(PREFIX)/bin/clang \
-B build/wasi-libc \
-S $(ROOT_DIR)/src/wasi-libc
touch build/wasi-libc.BUILT

Loading…
Cancel
Save