aboutsummaryrefslogtreecommitdiff
path: root/lib/IR/Makefile
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-01-02 12:09:16 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-01-02 12:09:16 +0000
commit351ba145a7db32b457f118ecc4d873765ac2a16b (patch)
tree6a3675f4708021af250b609d4550b681b4b90922 /lib/IR/Makefile
parent0a08460599eed603e469e3e16d0cf6aa33b8ba93 (diff)
Actually update the CMake and Makefile builds correctly, and update the
code that includes Intrinsics.gen directly. This never showed up in my testing because the old Intrinsics.gen was still kicking around in the make build system and was correct there. =[ Thankfully, some of the bots to clean rebuilds and that caught this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/Makefile')
-rw-r--r--lib/IR/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/Makefile b/lib/IR/Makefile
index 86d78f0629..cc403f38dd 100644
--- a/lib/IR/Makefile
+++ b/lib/IR/Makefile
@@ -23,7 +23,7 @@ $(ObjDir)/Intrinsics.gen.tmp: $(ObjDir)/.dir $(INTRINSICTDS) $(LLVM_TBLGEN)
$(Echo) Building Intrinsics.gen.tmp from Intrinsics.td
$(Verb) $(LLVMTableGen) $(call SYSPATH, $(INTRINSICTD)) -o $(call SYSPATH, $@) -gen-intrinsic
-$(GENFILE): $(PROJ_OBJ_ROOT)/include/llvm/IR/.dir $(ObjDir)/Intrinsics.gen.tmp
+$(GENFILE): $(ObjDir)/Intrinsics.gen.tmp $(PROJ_OBJ_ROOT)/include/llvm/IR/.dir
$(Verb) $(CMP) -s $@ $< || ( $(CP) $< $@ && \
$(EchoCmd) Updated Intrinsics.gen because Intrinsics.gen.tmp \
changed significantly. )