[compiler-rt] r359659 - [compiler-rt] Use correct spelling of the -Wno-pedantic variable

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 00:00:27 PDT 2019


Author: phosek
Date: Wed May  1 00:00:27 2019
New Revision: 359659

URL: http://llvm.org/viewvc/llvm-project?rev=359659&view=rev
Log:
[compiler-rt] Use correct spelling of the -Wno-pedantic variable

This addresses the issue introduced in r359646 which is causing
sanitizer bots to fail.

Modified:
    compiler-rt/trunk/lib/crt/CMakeLists.txt

Modified: compiler-rt/trunk/lib/crt/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/crt/CMakeLists.txt?rev=359659&r1=359658&r2=359659&view=diff
==============================================================================
--- compiler-rt/trunk/lib/crt/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/crt/CMakeLists.txt Wed May  1 00:00:27 2019
@@ -73,7 +73,7 @@ check_cxx_section_exists(".init_array" C
 
 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




More information about the llvm-commits mailing list