Mercurial > hg > svgui
comparison configure @ 899:b70addc910d5 datarace
Enable ThreadSanitizer
author | Chris Cannam |
---|---|
date | Tue, 24 Feb 2015 17:42:00 +0000 |
parents | 899c4d7e7e63 |
children |
comparison
equal
deleted
inserted
replaced
898:2be9753651c8 | 899:b70addc910d5 |
---|---|
4341 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" | 4341 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" |
4342 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" | 4342 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" |
4343 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" | 4343 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" |
4344 | 4344 |
4345 if test "x$GCC" = "xyes"; then | 4345 if test "x$GCC" = "xyes"; then |
4346 CXXFLAGS_DEBUG="-std=c++11 -Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" | 4346 CXXFLAGS_DEBUG="-std=c++11 -fpie -pie -fsanitize=thread -Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" |
4347 LIBS="$LIBS -std=c++11 -fpie -pie -fsanitize=thread" | |
4347 CXXFLAGS_RELEASE="-std=c++11 -g0 -O2 -Wall -pipe" | 4348 CXXFLAGS_RELEASE="-std=c++11 -g0 -O2 -Wall -pipe" |
4348 CXXFLAGS_MINIMAL="-std=c++11 -g0 -O0" | 4349 CXXFLAGS_MINIMAL="-std=c++11 -g0 -O0" |
4349 fi | 4350 fi |
4350 | 4351 |
4351 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" | 4352 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" |