[Mesa-dev] [PATCH v2 3/4] meson: build clover

Dylan Baker dylan at pnwbakers.com
Wed Dec 13 22:06:22 UTC 2017


Quoting Jan Vesely (2017-12-13 13:36:25)
> On Wed, 2017-12-13 at 13:01 -0800, Francisco Jerez wrote:
> > Jan Vesely <jan.vesely at rutgers.edu> writes:
> > 
> 
> autotools build works OK with no-rtti build of llvm, I've been running
> like that for some time. LLVM_CXXFLAGS which include fno-rtti are only
> used to build libclllvm.la, so it probably only works by accident.
> 
> fedora ships rtti enabled llvm, I'm not sure what other distros ship.
> 
> It opens up the question whether any flags from llvm-config --cxxflags
> should be used and whether meson needs an equivalent of
> "strip_unwanted_llvm_flags()"
> 
> Jan
> 

Meson only takes --cppflags from llvm-config (except -DNDEBUG), because frankly
LLVM puts garbage in llvm-config's --cflags and --cxxflags.

Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171213/34a95d0b/attachment-0001.sig>


More information about the mesa-dev mailing list