diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-10-23 07:34:01 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-10-23 07:34:01 -0700 |
commit | cd44abcc588c9fc988589c148e76e4590c2197b8 (patch) | |
tree | 7041ffc00355b844be546b307be478ccaf2ad31d /scripts | |
parent | ec73c369584315d91030faebc7e1a6e878c7e565 (diff) | |
download | qtlocation-mapboxgl-cd44abcc588c9fc988589c148e76e4590c2197b8.tar.gz |
disable the thread sanitizer on clang/Debug for now since this prevents core dumps from being generated on segfaults
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/flags.sh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/scripts/flags.sh b/scripts/flags.sh index 2b4624aa1c..0b1f69ae1c 100755 --- a/scripts/flags.sh +++ b/scripts/flags.sh @@ -16,17 +16,17 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then # but it's not worth a standalone matrix so here # we just test address->gcc and thread->clang for # some limited coverage - if [[ ${BUILDTYPE} == "Debug" ]]; then - if [[ ${CXX} == "g++" ]]; then - export CXXFLAGS="-fsanitize=address -g ${CXXFLAGS}" - export CFLAGS="-fsanitize=address -g ${CFLAGS}" - export LDFLAGS="-fsanitize=address ${LDFLAGS}" - elif [[ ${CXX} == "clang++" ]]; then - export CXXFLAGS="-fsanitize=thread -g -fPIC ${CXXFLAGS}" - export CFLAGS="-fsanitize=thread -g ${CFLAGS}" - export LDFLAGS="-fsanitize=thread -pie ${LDFLAGS}" - fi - fi + # if [[ ${BUILDTYPE} == "Debug" ]]; then + # if [[ ${CXX} == "g++" ]]; then + # export CXXFLAGS="-fsanitize=address -g ${CXXFLAGS}" + # export CFLAGS="-fsanitize=address -g ${CFLAGS}" + # export LDFLAGS="-fsanitize=address ${LDFLAGS}" + # elif [[ ${CXX} == "clang++" ]]; then + # export CXXFLAGS="-fsanitize=thread -g -fPIC ${CXXFLAGS}" + # export CFLAGS="-fsanitize=thread -g ${CFLAGS}" + # export LDFLAGS="-fsanitize=thread -pie ${LDFLAGS}" + # fi + # fi fi # turn off a few warnings |