CONFIGURE: Remove -O2 flag from --enable-tsan

This commit is contained in:
Eugene Sandulenko 2020-08-19 12:34:25 +02:00
parent 44e21a499d
commit 771ba72d24

4
configure vendored
View File

@ -5612,8 +5612,8 @@ echo "$_enable_asan"
echo_n "Enabling Thread Sanitizer... "
if test "$_enable_tsan" = yes ; then
append_var CXXFLAGS "-fsanitize=thread -O2"
append_var LDFLAGS "-fsanitize=thread -O2"
append_var CXXFLAGS "-fsanitize=thread"
append_var LDFLAGS "-fsanitize=thread"
fi
echo "$_enable_tsan"