]> granicus.if.org Git - llvm/commit
[CMake] Don't pass all LLVM_COMPILE_FLAGS to the C compiler
authorDavid Zarzycki <dave@znu.io>
Tue, 10 Sep 2019 14:19:52 +0000 (14:19 +0000)
committerDavid Zarzycki <dave@znu.io>
Tue, 10 Sep 2019 14:19:52 +0000 (14:19 +0000)
commit82b62b61b626ba1b68b2d4abb70027f806cb2e58
tree0d66b9ff7c6955bbabe6067b65601489b256e878
parent4964f4e3b1cf35808f2be060bbf3be6a78af6e38
[CMake] Don't pass all LLVM_COMPILE_FLAGS to the C compiler

GCC (unlike clang!) warns about C++ flags when compiling C.

https://reviews.llvm.org/D67171

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371521 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake