[TSan] Attempt to fix old Makefile build.

llvm-svn: 235960
This commit is contained in:
Alexey Samsonov 2015-04-28 01:27:17 +00:00
parent 72078b3cff
commit dc99a9c7a1
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
DEBUG=0
LDFLAGS=-ldl -lrt -lpthread -pie
CXXFLAGS = -std=c++11 -fPIE -fno-rtti -g -Wall -Werror \
-DGTEST_HAS_RTTI=0 -DSANITIZER_DEBUG=$(DEBUG)
-DGTEST_HAS_RTTI=0 -DSANITIZER_DEBUG=$(DEBUG) \
-DTSAN_CONTAINS_UBSAN=0
CLANG=clang
FILECHECK=FileCheck
# Silence warnings that Clang produces for gtest code.

View File

@ -1,4 +1,4 @@
CXXFLAGS = -std=c++11 -fPIE -g -Wall -Werror -fno-builtin -msse3 -DSANITIZER_DEBUG=$(DEBUG)
CXXFLAGS = -std=c++11 -fPIE -g -Wall -Werror -fno-builtin -msse3 -DSANITIZER_DEBUG=$(DEBUG) -DTSAN_CONTAINS_UBSAN=0
CLANG=clang
ifeq ($(DEBUG), 0)
CXXFLAGS += -O3