diff options
author | Craig Tiller <ctiller@google.com> | 2015-05-29 08:42:16 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-05-29 08:42:16 -0700 |
commit | 5c0f97d557fe07cf9789bbee7daee0fa9d0df1b1 (patch) | |
tree | aba2f31447b19bd2a16490c2e14de597510ab278 /templates | |
parent | cd43da82f88e4d77fc4f09813cf7312441c5c36f (diff) |
Disable optimization on tsan builds
Diffstat (limited to 'templates')
-rw-r--r-- | templates/Makefile.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template index bc8f1bb1d0..099a722873 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.template @@ -157,7 +157,7 @@ CC_tsan = clang CXX_tsan = clang++ LD_tsan = clang LDXX_tsan = clang++ -CPPFLAGS_tsan = -O1 -fsanitize=thread -fno-omit-frame-pointer +CPPFLAGS_tsan = -O0 -fsanitize=thread -fno-omit-frame-pointer LDFLAGS_tsan = -fsanitize=thread DEFINES_tsan = NDEBUG GRPC_TEST_SLOWDOWN_BUILD_FACTOR=10 |