diff --git a/Makefile b/Makefile index 319cabd..0e7f70b 100644 --- a/Makefile +++ b/Makefile @@ -80,31 +80,12 @@ build/llvm.BUILT: -DDEFAULT_SYSROOT=../share/wasi-sysroot, \ -DDEFAULT_SYSROOT=$(PREFIX)/share/wasi-sysroot), \ -DDEFAULT_SYSROOT=$(PREFIX)/share/wasi-sysroot) \ - -DLLVM_INSTALL_BINUTILS_SYMLINKS=TRUE \ + -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON \ + -DLLVM_INSTALL_BINUTILS_SYMLINKS=ON \ -DLLVM_ENABLE_LIBXML2=OFF \ $(LLVM_CMAKE_FLAGS) \ $(LLVM_PROJ_DIR)/llvm - DESTDIR=$(DESTDIR) ninja $(NINJA_FLAGS) -C build/llvm \ - install-clang \ - install-clang-format \ - install-clang-tidy \ - install-clang-apply-replacements \ - install-lld \ - install-llvm-mc \ - install-llvm-ranlib \ - install-llvm-strip \ - install-llvm-dwarfdump \ - install-clang-resource-headers \ - install-ar \ - install-ranlib \ - install-strip \ - install-nm \ - install-size \ - install-strings \ - install-objdump \ - install-objcopy \ - install-c++filt \ - llvm-config + DESTDIR=$(DESTDIR) ninja $(NINJA_FLAGS) -C build/llvm install touch build/llvm.BUILT build/wasi-libc.BUILT: build/llvm.BUILT