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

Óscar Fuentes ofv at wanadoo.es
Thu Nov 22 00:41:51 PST 2012


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.




More information about the llvm-dev mailing list