diff options
| author | Alexey Samsonov <samsonov@google.com> | 2012-06-19 07:38:11 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2012-06-19 07:38:11 +0000 |
| commit | d9ae7adb841ab300bc0bebe6015ddedab59d90f2 (patch) | |
| tree | 73130bf1fa4244feba58321a27436e474fb37151 /compiler-rt | |
| parent | 96ebd91d6cb0229ae940d3e2970eb145a183fb93 (diff) | |
| download | bcm5719-llvm-d9ae7adb841ab300bc0bebe6015ddedab59d90f2.tar.gz bcm5719-llvm-d9ae7adb841ab300bc0bebe6015ddedab59d90f2.zip | |
[TSan] silence -Winternal-linkage-in-inlinewarning which is produced for gtest code
llvm-svn: 158705
Diffstat (limited to 'compiler-rt')
| -rw-r--r-- | compiler-rt/lib/tsan/Makefile.old | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/Makefile.old b/compiler-rt/lib/tsan/Makefile.old index ea786c3a9a6..7e0f1dbfd14 100644 --- a/compiler-rt/lib/tsan/Makefile.old +++ b/compiler-rt/lib/tsan/Makefile.old @@ -1,8 +1,9 @@ DEBUG=0 LDFLAGS=-ldl -lpthread -pie CXXFLAGS = -fPIE -g -Wall -Werror -DTSAN_DEBUG=$(DEBUG) -# Gtest has unused private field. GCC doesn't know -Wunused-private-field warning -CXXFLAGS += -Wno-unused-private-field -Wno-attributes +# Silence warnings that Clang produces for gtest code. +# Use -Wno-attributes so that gcc doesn't complain about unknown warning types. +CXXFLAGS += -Wno-unused-private-field -Wno-internal-linkage-in-inline -Wno-attributes ifeq ($(DEBUG), 0) CXXFLAGS += -O3 endif |

