Skip to content

Commit

Permalink
Make sure to create the directory before we cram a .bc file into it
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7864 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Aug 15, 2003
1 parent d11df3c commit af06a08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile.common
Expand Up @@ -48,6 +48,7 @@
# For building,
# LLVM, LLVM_SRC_ROOT = BUILD_SRC_ROOT, and
# LLVM_OBJ_ROOT = BUILD_OBJ_ROOT.
#
#===-----------------------------------------------------------------------====

#
Expand Down Expand Up @@ -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)
#
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions Makefile.rules
Expand Up @@ -48,6 +48,7 @@
# For building,
# LLVM, LLVM_SRC_ROOT = BUILD_SRC_ROOT, and
# LLVM_OBJ_ROOT = BUILD_OBJ_ROOT.
#
#===-----------------------------------------------------------------------====

#
Expand Down Expand Up @@ -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)
#
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit af06a08

Please sign in to comment.