[compiler-rt] r196495 - [tsan] fix the old tsan Makefile to build the	asm files with includes
    Kostya Serebryany 
    kcc at google.com
       
    Thu Dec  5 03:24:07 PST 2013
    
    
  
Author: kcc
Date: Thu Dec  5 05:24:06 2013
New Revision: 196495
URL: http://llvm.org/viewvc/llvm-project?rev=196495&view=rev
Log:
[tsan] fix the old tsan Makefile to build the asm files with includes
Modified:
    compiler-rt/trunk/lib/tsan/rtl/Makefile.old
Modified: compiler-rt/trunk/lib/tsan/rtl/Makefile.old
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/Makefile.old?rev=196495&r1=196494&r2=196495&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/Makefile.old (original)
+++ compiler-rt/trunk/lib/tsan/rtl/Makefile.old Thu Dec  5 05:24:06 2013
@@ -49,6 +49,8 @@ LIBTSAN_OBJ=$(patsubst %.cc,%.o,$(LIBTSA
 	$(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@
 %.o: $(COMMON)/%.cc Makefile.old $(LIBTSAN_HEADERS)
 	$(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@
+%.o: %.S
+	$(CXX) $(INCLUDES) -o $@ -c $<
 
 libtsan.a: $(LIBTSAN_OBJ)
 	ar ru $@ $(LIBTSAN_OBJ)
    
    
More information about the llvm-commits
mailing list