[llvm-commits] [compiler-rt] r151391 - /compiler-rt/trunk/lib/asan/Makefile.old
Kostya Serebryany
kcc at google.com
Fri Feb 24 12:49:36 PST 2012
Author: kcc
Date: Fri Feb 24 14:49:36 2012
New Revision: 151391
URL: http://llvm.org/viewvc/llvm-project?rev=151391&view=rev
Log:
[asan] don't compile gtest with asan when building asan tests
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=151391&r1=151390&r2=151391&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/Makefile.old (original)
+++ compiler-rt/trunk/lib/asan/Makefile.old Fri Feb 24 14:49:36 2012
@@ -320,11 +320,11 @@
asan_benchmarks: $(BIN)/asan_benchmarks$(SUFF)
# for now, build gtest with clang/asan even if we use a different compiler.
-$(GTEST_LIB): $(LIBASAN_A)
+$(GTEST_LIB):
mkdir -p $(GTEST_MAKE_DIR) && \
cd $(GTEST_MAKE_DIR) && \
$(MAKE) -f ../make/Makefile CXXFLAGS="$(PIE) $(CFLAGS) -g -w" \
- CXX="$(CLANG_ASAN_CXX)"
+ CXX="$(CLANG_CXX)"
RTL_LINT_FITLER=-readability/casting,-readability/check,-build/include,-build/header_guard,-build/class,-legal/copyright
# TODO(kcc): remove these filters one by one
More information about the llvm-commits
mailing list