summaryrefslogtreecommitdiff
path: root/Makefile.rules
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
commit2d675f130804cdc92137101c0f88d4c91bfa0950 (patch)
tree813da8b41410daec713398c6b9d57deddbeb10b8 /Makefile.rules
parent3a1588a2e38d57de3c4277f071f2316fb3dbc37a (diff)
downloadllvm-2d675f130804cdc92137101c0f88d4c91bfa0950.tar.gz
llvm-2d675f130804cdc92137101c0f88d4c91bfa0950.tar.bz2
llvm-2d675f130804cdc92137101c0f88d4c91bfa0950.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101413 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index f4a1bc95db..0c5d9066a3 100644
--- a/Makefile.rules
+++ b/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)