summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-12-05 11:24:06 +0000
committerKostya Serebryany <kcc@google.com>2013-12-05 11:24:06 +0000
commit3b2f702d5543da080695bfd6df3e8b32e11fc98b (patch)
tree62193bde3d804591dcc9757d4869166b602a5d7d /compiler-rt
parent6b59c449d9e46c916187b62d330566404b9df51e (diff)
downloadbcm5719-llvm-3b2f702d5543da080695bfd6df3e8b32e11fc98b.tar.gz
bcm5719-llvm-3b2f702d5543da080695bfd6df3e8b32e11fc98b.zip
[tsan] fix the old tsan Makefile to build the asm files with includes
llvm-svn: 196495
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/tsan/rtl/Makefile.old2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/Makefile.old b/compiler-rt/lib/tsan/rtl/Makefile.old
index 33944ffe967..7aee5abe78b 100644
--- a/compiler-rt/lib/tsan/rtl/Makefile.old
+++ b/compiler-rt/lib/tsan/rtl/Makefile.old
@@ -49,6 +49,8 @@ LIBTSAN_OBJ=$(patsubst %.cc,%.o,$(LIBTSAN_SRC)) \
$(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)
OpenPOWER on IntegriCloud