summaryrefslogtreecommitdiff
path: root/util/env_test.cc
diff options
context:
space:
mode:
authorChris Mumford <cmumford@google.com>2019-10-01 13:00:35 -0700
committerChris Mumford <cmumford@chromium.org>2019-10-01 13:03:19 -0700
commit370d532a00581ca79c87af7d7811e56de0ca52a8 (patch)
tree010b8cbcb2f08837f01fe3d717b0ed281a0b0e96 /util/env_test.cc
parent45ee61579c1eb3accd6c88c922ec468dd61beea8 (diff)
downloadleveldb-370d532a00581ca79c87af7d7811e56de0ca52a8.tar.gz
Using CMake's check_cxx_compiler_flag to check support for -Wthread-safety.
Previously used check_cxx_source_compiles to attempt a build to determine support for clang thread safety checks. This change is to support static analysis of the leveldb source by lgtm.com (using Semmle). It failed to build with the following error: ``` [2019-07-04 22:29:58] [build] c++: error: unrecognized command line option ‘-Wthread-safety’; did you mean ‘-fthread-jumps’? [2019-07-04 22:30:02] [build] make[2]: *** [CMakeFiles/leveldb.dir/build.make:66: CMakeFiles/leveldb.dir/db/builder.cc.o] Error 1 ``` PiperOrigin-RevId: 272275528
Diffstat (limited to 'util/env_test.cc')
0 files changed, 0 insertions, 0 deletions