aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-15 03:02:52 +0000
committerChris Lattner <sabre@nondot.org>2003-08-15 03:02:52 +0000
commitaf06a08584aeae7b68a1b13c775d939de61c94d3 (patch)
tree00983f168fdfc43ed0517cf4def7ab63a68b0c23 /Makefile.common
parentd11df3c2059df840d5a55e304cdbad6ad4785525 (diff)
Make sure to create the directory before we cram a .bc file into it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index 915cd8a3f4..ee1c5c7daa 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -48,6 +48,7 @@
# For building,
# LLVM, LLVM_SRC_ROOT = BUILD_SRC_ROOT, and
# LLVM_OBJ_ROOT = BUILD_OBJ_ROOT.
+#
#===-----------------------------------------------------------------------====
#
@@ -537,7 +538,7 @@ endif
# Rule for building bytecode libraries.
-$(LIBNAME_BC): $(ObjectsBC) $(LibSubDirs)
+$(LIBNAME_BC): $(ObjectsBC) $(LibSubDirs) $(DESTLIBBYTECODE)/.dir
@echo ======= Linking $(LIBRARYNAME) bytecode library =======
$(VERB) $(LinkBCLib) -o $@ $(ObjectsBC) $(LibSubDirs) $(LibLinkOpts)
#
@@ -660,7 +661,6 @@ STATICUSEDLIBS := $(patsubst %.a.o, lib%.a, $(addsuffix .o, $(USEDLIBS)))
USED_LIB_PATHS_G := $(addprefix $(DESTLIBDEBUG)/, $(STATICUSEDLIBS))
USED_LIB_PATHS_O := $(addprefix $(DESTLIBRELEASE)/, $(STATICUSEDLIBS))
USED_LIB_PATHS_P := $(addprefix $(DESTLIBPROFILE)/, $(STATICUSEDLIBS))
-#LINK_OPTS := $(TOOLLINKOPTS) $(PLATFORMLINKOPTS)
#
# Libtool link options: