summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-15 22:46:27 +0000
committerDan Gohman <gohman@apple.com>2010-04-15 22:46:27 +0000
commit1639265421e5e68782adc202fccf99588dde18bb (patch)
treebb382c23668dea82806168e340f260e8a2811e5f /llvm
parentb2ccf010fb5e4b382bad7c4ea906ac88509ced47 (diff)
downloadbcm5719-llvm-1639265421e5e68782adc202fccf99588dde18bb.tar.gz
bcm5719-llvm-1639265421e5e68782adc202fccf99588dde18bb.zip
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. llvm-svn: 101413
Diffstat (limited to 'llvm')
-rw-r--r--llvm/Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index f4a1bc95db1..0c5d9066a36 100644
--- a/llvm/Makefile.rules
+++ b/llvm/Makefile.rules
@@ -979,7 +979,7 @@ ifdef EXPORTED_SYMBOL_FILE
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)
OpenPOWER on IntegriCloud