[compiler-rt] r248515 - [CMake] pass -Wno-pedantic to cc_kext builtins build

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 09:47:27 PDT 2015


Author: cbieneman
Date: Thu Sep 24 11:47:26 2015
New Revision: 248515

URL: http://llvm.org/viewvc/llvm-project?rev=248515&view=rev
Log:
[CMake] pass -Wno-pedantic to cc_kext builtins build

We don't pass -pedantic to the builtin builds in the makefiles, so we shouldn't do it here. This is a temporary fix for the broken bot:

http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA_build/7526/warnings8Result/new/

A more correct solution is in the works.

Modified:
    compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake

Modified: compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake?rev=248515&r1=248514&r2=248515&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake Thu Sep 24 11:47:26 2015
@@ -195,7 +195,7 @@ macro(darwin_add_builtin_libraries)
                               OS ${os}
                               ARCH ${arch}
                               SOURCES ${${arch}_SOURCES}
-                              CFLAGS "-std=c99" -arch ${arch} -mkernel
+                              CFLAGS "-std=c99" -arch ${arch} -mkernel -Wno-pedantic
                               DEFS KERNEL_USE
                               PARENT_TARGET builtins)
 




More information about the llvm-commits mailing list