Fix the lib32 and lib64 targets.

llvm-svn: 151057
This commit is contained in:
Alexander Potapenko 2012-02-21 14:11:52 +00:00
parent c7a22fe76b
commit 47038cae29
1 changed files with 3 additions and 3 deletions

View File

@ -227,9 +227,9 @@ b32: | mk_bin_dir
$(MAKE) -f $(MAKEFILE) ARCH=i386 asan_test asan_benchmarks
lib64:
$(MAKE) $(MAKEFILE) ARCH=x86_64 lib
$(MAKE) -f $(MAKEFILE) ARCH=x86_64 lib
lib32:
$(MAKE) $(MAKEFILE) ARCH=i386 lib
$(MAKE) -f $(MAKEFILE) ARCH=i386 lib
mk_bin_dir:
mkdir -p $(BIN)
@ -284,7 +284,7 @@ endif
lib: $(LIBASAN_A)
$(LIBASAN_A): $(BIN) $(LIBASAN_OBJ) $(MAKEFILE)
$(LIBASAN_A): mk_bin_dir $(LIBASAN_OBJ) $(MAKEFILE)
mkdir -p $(LIBASAN_INST_DIR)
ar ru $@ $(LIBASAN_OBJ)
$(CXX) -shared $(CFLAGS) $(LIBASAN_OBJ) $(LD_FLAGS) -o $(BIN)/libasan$(SUFF).so