depot/third_party/nixpkgs/pkgs/development/compilers/mrustc/patches/0002-dont-build-llvm.patch

15 lines
374 B
Diff
Raw Normal View History

--- a/minicargo.mk
+++ b/minicargo.mk
@@ -116,11 +116,6 @@
LLVM_CMAKE_OPTS += CMAKE_BUILD_TYPE=RelWithDebInfo
-$(LLVM_CONFIG): $(RUSTCSRC)build/Makefile
- $Vcd $(RUSTCSRC)build && $(MAKE)
-$(RUSTCSRC)build/Makefile: $(RUSTCSRC)src/llvm/CMakeLists.txt
- @mkdir -p $(RUSTCSRC)build
- $Vcd $(RUSTCSRC)build && cmake $(addprefix -D , $(LLVM_CMAKE_OPTS)) ../src/llvm
#