[llvm-commits] [compiler-rt] r146162 - /compiler-rt/trunk/lib/asan/Makefile.old

Kostya Serebryany kcc at google.com
Thu Dec 8 10:46:33 PST 2011


Author: kcc
Date: Thu Dec  8 12:46:33 2011
New Revision: 146162

URL: http://llvm.org/viewvc/llvm-project?rev=146162&view=rev
Log:
[asan] update the soon-to-be-depricated asan makefile to use the new path for asan-rt (affects only linux)

Modified:
    compiler-rt/trunk/lib/asan/Makefile.old

Modified: compiler-rt/trunk/lib/asan/Makefile.old
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/Makefile.old?rev=146162&r1=146161&r2=146162&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/Makefile.old (original)
+++ compiler-rt/trunk/lib/asan/Makefile.old Thu Dec  8 12:46:33 2011
@@ -118,8 +118,11 @@
   PIE=-fPIE -pie
 endif
 
-LIBASAN_INST_DIR=$(CLANG_BUILD)/lib/clang/$(OS)/$(ARCH)
-LIBASAN_A=$(LIBASAN_INST_DIR)/libclang_rt.asan.a
+# This will build libasan on linux for both x86_64 and i386 in the
+# desired location. The Mac library is already build by the clang's make.
+# $(CLANG_BUILD)/lib/clang/3.1/lib/$(OS)/libclang_rt.asan-$(ARCH).a
+LIBASAN_INST_DIR=$(CLANG_BUILD)/lib/clang/3.1/lib/$(OS)
+LIBASAN_A=$(LIBASAN_INST_DIR)/libclang_rt.asan-$(ARCH).a
 
 BLACKLIST=
 ifeq ($(ASAN_HAS_BLACKLIST), 1)





More information about the llvm-commits mailing list