diff options
author | Alexey Samsonov <samsonov@google.com> | 2014-03-19 13:57:33 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2014-03-19 13:57:33 +0000 |
commit | 085e9a467501fbdbca63c56b58716471831e5b5d (patch) | |
tree | b5cec5a04d548160adfc28533fb7de3e85f98a03 /lib/asan | |
parent | 75ac702b0cde5be4497a023b3d86de9cb1f859b2 (diff) |
[CMake] Build sanitizer unit tests with -std=c++11
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan')
-rw-r--r-- | lib/asan/tests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asan/tests/CMakeLists.txt b/lib/asan/tests/CMakeLists.txt index 406b70453..b33653d55 100644 --- a/lib/asan/tests/CMakeLists.txt +++ b/lib/asan/tests/CMakeLists.txt @@ -30,6 +30,7 @@ set(ASAN_UNITTEST_COMMON_CFLAGS -Wno-format -Werror -Werror=sign-compare + -std=c++11 -g -O2) append_if(COMPILER_RT_HAS_WNO_VARIADIC_MACROS_FLAG -Wno-variadic-macros ASAN_UNITTEST_COMMON_CFLAGS) |