[llvm-commits] [compiler-rt] r158705 - /compiler-rt/trunk/lib/tsan/Makefile.old

Alexey Samsonov samsonov at google.com
Tue Jun 19 00:38:11 PDT 2012


Author: samsonov
Date: Tue Jun 19 02:38:11 2012
New Revision: 158705

URL: http://llvm.org/viewvc/llvm-project?rev=158705&view=rev
Log:
[TSan] silence -Winternal-linkage-in-inlinewarning which is produced for gtest code

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=158705&r1=158704&r2=158705&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/Makefile.old (original)
+++ compiler-rt/trunk/lib/tsan/Makefile.old Tue Jun 19 02:38:11 2012
@@ -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





More information about the llvm-commits mailing list