aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-20 19:08:27 +0000
committerChris Lattner <sabre@nondot.org>2006-07-20 19:08:27 +0000
commit4446fcdf9e2af9779d76a1de0acc7a2020926ab3 (patch)
tree21fba8de58d9c7d737a070f0779d29a5c0303f5b
parentec3c411de861718d3fc15e9f0ea5be5a6e357546 (diff)
downloadexternal_llvm-4446fcdf9e2af9779d76a1de0acc7a2020926ab3.zip
external_llvm-4446fcdf9e2af9779d76a1de0acc7a2020926ab3.tar.gz
external_llvm-4446fcdf9e2af9779d76a1de0acc7a2020926ab3.tar.bz2
Fix a race condition in the makefile andrew reported
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29227 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Makefile b/lib/VMCore/Makefile
index af3ae40..a5ac4d0 100644
--- a/lib/VMCore/Makefile
+++ b/lib/VMCore/Makefile
@@ -19,7 +19,7 @@ GENFILE:=$(PROJ_SRC_ROOT)/include/llvm/Intrinsics.gen
INTRINSICTD := $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.td
INTRINSICTDS := $(wildcard $(PROJ_SRC_ROOT)/include/llvm/Intrinsics*.td)
-$(ObjDir)/Intrinsics.gen.tmp: $(INTRINSICTDS) $(TBLGEN)
+$(ObjDir)/Intrinsics.gen.tmp: $(ObjDir)/.dir $(INTRINSICTDS) $(TBLGEN)
$(Echo) Building Intrinsics.gen.tmp from Intrinsics.td
$(Verb) $(TableGen) $(INTRINSICTD) -o $@ -gen-intrinsic