[LLVMdev] llvm-config --cxxflags is not consistent when building by cmake.

Óscar Fuentes
Thu, 22 Nov 2012 08:41:51 -0000

Luba Tang <lubatang at gmail.com> writes:

> We found `llvm-config --cxxflags' does not have -fno-exceptions
-fno-rtti
> when using cmake to build LLVM.
> Does anyone know how to fix it?

Using -fno-rtti and -fno-exceptions is an internal LLVM policy. There is
no reason to impose it on client code.