[PATCH][CMake] Fix PR14200, llvm-config output misses -fno-rtti

David Wiberg dwiberg at gmail.com
Sun Aug 2 09:27:36 PDT 2015


Hi,

I took a stab at solving PR14200. My CMake knowledge is low but I think the
solution is reasonable as it reuses the existing logic for setting flags.

Things worth noting during review:
- The change means that both RTTI and exception handling flags will be
reported by llvm-config.
- I'm creating a variable with the same name as a target property. I don't
know if this breaks any convention.

I do not have commit access, so if patch is accepted I would appreciate
help with that part.

Best regards
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150802/aa517d94/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PR14200_cmake_llvm-config.patch
Type: text/x-patch
Size: 2067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150802/aa517d94/attachment.bin>


More information about the llvm-commits mailing list