mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-31 22:25:56 +00:00
[TSan] Attempt to fix old Makefile build.
llvm-svn: 235960
This commit is contained in:
parent
72078b3cff
commit
dc99a9c7a1
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user