diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-08-15 03:02:52 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-08-15 03:02:52 +0000 |
| commit | 2e9fc94afc2580c5da4c0c149087ce54c8dc8700 (patch) | |
| tree | 0806aa50afcece675db5a3720e2ab64994780c41 | |
| parent | 7aabe391b8c786c8f14d34c1a12f0aaacbf76c1f (diff) | |
| download | bcm5719-llvm-2e9fc94afc2580c5da4c0c149087ce54c8dc8700.tar.gz bcm5719-llvm-2e9fc94afc2580c5da4c0c149087ce54c8dc8700.zip | |
Make sure to create the directory before we cram a .bc file into it
llvm-svn: 7864
| -rw-r--r-- | llvm/Makefile.common | 4 | ||||
| -rw-r--r-- | llvm/Makefile.rules | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/Makefile.common b/llvm/Makefile.common index 915cd8a3f4a..ee1c5c7daae 100644 --- a/llvm/Makefile.common +++ b/llvm/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: diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index 915cd8a3f4a..ee1c5c7daae 100644 --- a/llvm/Makefile.rules +++ b/llvm/Makefile.rules @@ -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: |

