summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-05-01 07:00:27 +0000
committerPetr Hosek <phosek@chromium.org>2019-05-01 07:00:27 +0000
commit9a0fde3bf0ef3848344e03b711ec7e866ce9ead2 (patch)
tree32ad8cd9cf6ecc6183e50c73eec7e7b78450e599
parent0b8bef12e6ee55bdaca380fdc22821e4bcd9a267 (diff)
downloadcompiler-rt-9a0fde3bf0ef3848344e03b711ec7e866ce9ead2.tar.gz
[compiler-rt] Use correct spelling of the -Wno-pedantic variable
This addresses the issue introduced in r359646 which is causing sanitizer bots to fail. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@359659 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/crt/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crt/CMakeLists.txt b/lib/crt/CMakeLists.txt
index 2323e5754..a82ae75c5 100644
--- a/lib/crt/CMakeLists.txt
+++ b/lib/crt/CMakeLists.txt
@@ -73,7 +73,7 @@ check_cxx_section_exists(".init_array" COMPILER_RT_HAS_INITFINI_ARRAY
append_list_if(COMPILER_RT_HAS_INITFINI_ARRAY -DCRT_HAS_INITFINI_ARRAY CRT_CFLAGS)
append_list_if(COMPILER_RT_HAS_FPIC_FLAG -fPIC CRT_CFLAGS)
-append_list_if(COMPILER_RT_HAS_NO_PEDANTIC -Wno-pedantic CRT_CFLAGS)
+append_list_if(COMPILER_RT_HAS_WNO_PEDANTIC -Wno-pedantic CRT_CFLAGS)
foreach(arch ${CRT_SUPPORTED_ARCH})
add_compiler_rt_runtime(clang_rt.crtbegin