From 5ac8b06c49d2a82532d3c29e32f3094f570e89dd Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Sat, 23 Jul 2016 23:16:35 -0700 Subject: [PATCH] fix llvm patch repeat application issue dependency on configure should be order-only (after the `|`) since a patch modifies the file. also use CMakeLists.txt since llvm's configure will be going away --- deps/llvm.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/llvm.mk b/deps/llvm.mk index 2798acf817191..99cc7829e71cb 100644 --- a/deps/llvm.mk +++ b/deps/llvm.mk @@ -407,7 +407,7 @@ endif # LLVM_VER LLVM_PATCH_PREV:= LLVM_PATCH_LIST:= define LLVM_PATCH -$$(LLVM_SRC_DIR)/$1.patch-applied: $$(LLVM_SRC_DIR)/configure | $$(SRCDIR)/patches/$1.patch $$(LLVM_PATCH_PREV) +$$(LLVM_SRC_DIR)/$1.patch-applied: | $$(LLVM_SRC_DIR)/CMakeLists.txt $$(SRCDIR)/patches/$1.patch $$(LLVM_PATCH_PREV) cd $$(LLVM_SRC_DIR) && patch -p1 < $$(SRCDIR)/patches/$1.patch echo 1 > $$@ LLVM_PATCH_PREV := $$(LLVM_SRC_DIR)/$1.patch-applied