[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.

llvm-svn: 248515
This commit is contained in:
Chris Bieneman 2015-09-24 16:47:26 +00:00
parent 22db068008
commit d983ae0a0e
1 changed files with 1 additions and 1 deletions

View File

@ -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)