diff options
-rwxr-xr-x | test/tsan/test_output.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tsan/test_output.sh b/test/tsan/test_output.sh index f5b75ed4c..bce0fe8b5 100755 --- a/test/tsan/test_output.sh +++ b/test/tsan/test_output.sh @@ -12,8 +12,8 @@ TSAN_DIR=$(dirname $0)/../../lib/tsan : ${FILECHECK:=FileCheck} # TODO: add testing for all of -O0...-O3 -CFLAGS="-fsanitize=thread -fPIE -O1 -g -Wall" -LDFLAGS="-pie -pthread -ldl -lrt -lm -Wl,--whole-archive $TSAN_DIR/rtl/libtsan.a -Wl,--no-whole-archive" +CFLAGS="-fsanitize=thread -O2 -g -Wall" +LDFLAGS="-pthread -ldl -lrt -lm -Wl,--whole-archive $TSAN_DIR/rtl/libtsan.a -Wl,--no-whole-archive" test_file() { SRC=$1 |