Mercurial > hg > sonic-visualiser
comparison configure @ 907:b40f29144e80 datarace
Enable ThreadSanitizer
author | Chris Cannam |
---|---|
date | Tue, 24 Feb 2015 17:42:00 +0000 |
parents | 93a770ecfc98 |
children |
comparison
equal
deleted
inserted
replaced
903:6d3220e7ecef | 907:b40f29144e80 |
---|---|
4362 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" | 4362 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" |
4363 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" | 4363 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" |
4364 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" | 4364 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" |
4365 | 4365 |
4366 if test "x$GCC" = "xyes"; then | 4366 if test "x$GCC" = "xyes"; then |
4367 CXXFLAGS_DEBUG="-Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" | 4367 CXXFLAGS_DEBUG="-std=c++11 -fpie -pie -fsanitize=thread -Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" |
4368 CXXFLAGS_RELEASE="-g0 -O2 -Wall -pipe" | 4368 LIBS="$LIBS -std=c++11 -fpie -pie -fsanitize=thread" |
4369 CXXFLAGS_MINIMAL="-g0 -O0" | 4369 CXXFLAGS_RELEASE="-std=c++11 -g0 -O2 -Wall -pipe" |
4370 CXXFLAGS_MINIMAL="-std=c++11 -g0 -O0" | |
4370 fi | 4371 fi |
4371 | 4372 |
4372 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" | 4373 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" |
4373 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" | 4374 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" |
4374 | 4375 |