[llvm-commits] [llvm] r101413 - /llvm/trunk/Makefile.rules
Dan Gohman
gohman at apple.com
Thu Apr 15 15:46:27 PDT 2010
Author: djg
Date: Thu Apr 15 17:46:27 2010
New Revision: 101413
URL: http://llvm.org/viewvc/llvm-project?rev=101413&view=rev
Log:
Add a dependency on the .dir file to make sure that the directory
is created before the native exports file is built in a parallel build.
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=101413&r1=101412&r2=101413&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Thu Apr 15 17:46:27 2010
@@ -979,7 +979,7 @@
ifeq ($(HOST_OS),Darwin)
# Darwin convention prefixes symbols with underscores.
NativeExportsFile := $(ObjDir)/$(EXPORTED_SYMBOL_FILE).sed
-$(NativeExportsFile): $(EXPORTED_SYMBOL_FILE)
+$(NativeExportsFile): $(EXPORTED_SYMBOL_FILE) $(ObjDir)/.dir
$(Verb) sed -e 's/[[:<:]]/_/' < $< > $@
clean-local::
-$(Verb) $(RM) -f $(NativeExportsFile)
More information about the llvm-commits
mailing list