[llvm-commits] [compiler-rt] r157579 - /compiler-rt/trunk/lib/tsan/Makefile.old
Dmitry Vyukov
dvyukov at google.com
Mon May 28 07:15:40 PDT 2012
Author: dvyukov
Date: Mon May 28 09:15:39 2012
New Revision: 157579
URL: http://llvm.org/viewvc/llvm-project?rev=157579&view=rev
Log:
tsan: pass CFLAGS to tests
Modified:
compiler-rt/trunk/lib/tsan/Makefile.old
Modified: compiler-rt/trunk/lib/tsan/Makefile.old
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/Makefile.old?rev=157579&r1=157578&r2=157579&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/Makefile.old (original)
+++ compiler-rt/trunk/lib/tsan/Makefile.old Mon May 28 09:15:39 2012
@@ -37,13 +37,10 @@
$(MAKE) -C rtl -f Makefile.old DEBUG=$(DEBUG)
unit_tests/%_test.o: unit_tests/%_test.cc $(UNIT_TEST_HDR)
- $(CXX) $(CXXFLAGS) $(INCLUDES) -o $@ -c $<
+ $(CXX) $(CXXFLAGS) $(CFLAGS) $(INCLUDES) -o $@ -c $<
rtl_tests/%.o: rtl_tests/%.cc $(LIBTSAN_HEADERS)
- $(CXX) $(CXXFLAGS) $(INCLUDES) -o $@ -c $<
-
-#%.o: %.c $(LIBTSAN_HEADERS)
-# $(CC) $(CXXFLAGS) $(INCLUDES) -c $<
+ $(CXX) $(CXXFLAGS) $(CFLAGS) $(INCLUDES) -o $@ -c $<
tsan_test: $(TEST_OBJ) $(UNIT_TEST_OBJ) $(RTL_TEST_OBJ) $(LIBTSAN) $(GTEST_LIB)
$(CXX) $^ -o $@ $(LDFLAGS)
More information about the llvm-commits
mailing list