[compiler-rt] r233042 - [TSan] Fixup for r233038: restrict the -Wno-maybe-uninitialized flag to GCC only.
Alexey Samsonov
vonosmas at gmail.com
Mon Mar 23 16:44:38 PDT 2015
Author: samsonov
Date: Mon Mar 23 18:44:38 2015
New Revision: 233042
URL: http://llvm.org/viewvc/llvm-project?rev=233042&view=rev
Log:
[TSan] Fixup for r233038: restrict the -Wno-maybe-uninitialized flag to GCC only.
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=233042&r1=233041&r2=233042&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/Makefile.old (original)
+++ compiler-rt/trunk/lib/tsan/Makefile.old Mon Mar 23 18:44:38 2015
@@ -4,7 +4,6 @@ CXXFLAGS = -std=c++11 -fPIE -fno-rtti -g
-DGTEST_HAS_RTTI=0 -DSANITIZER_DEBUG=$(DEBUG)
CLANG=clang
FILECHECK=FileCheck
-CXXFLAGS += -Wno-maybe-uninitialized
# Silence warnings that Clang produces for gtest code.
# Use -Wno-attributes so that gcc doesn't complain about unknown warning types.
CXXFLAGS += -Wno-attributes
@@ -12,7 +11,9 @@ ifeq ($(DEBUG), 0)
CXXFLAGS += -O3
endif
ifeq ($(CXX), $(CLANG)++)
- CXXFLAGS+= -Wno-unused-private-field -Wno-static-in-inline -Wgnu
+ CXXFLAGS += -Wno-unused-private-field -Wno-static-in-inline -Wgnu
+else
+ CXXFLAGS += -Wno-maybe-uninitialized
endif
LIBTSAN=rtl/libtsan.a
More information about the llvm-commits
mailing list