diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2014-11-19 10:45:53 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2014-11-19 10:45:53 +0000 |
commit | b99944bba3e3062fb47234fc7e277c51145f109b (patch) | |
tree | 045cfcdf01377826a1525746484d8de28931e417 | |
parent | d8b716d2ea6d559b5474d5345133733be2daf40f (diff) |
tsan: don't add -pie when compiling tests
driver should add it as necessary
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222343 91177308-0d34-0410-b5e6-96231b3b80d8
-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 |