On 31 May 2016 at 15:34, Chuck Atkins <chuck.atk...@kitware.com> wrote:
> I've been using lto for the past several weeks not for performance reasons > but to reduce the resulting binary size which has grown to be rather > substantial. I usually set "-flto -ffat-lto-objects > -flto-odr-type-merging" in the CFLAGS and CXXFLAGS env vars prior to > configure and have yet to experience any problems with the files in mapi./ > > Thanks for the confirmation Chuck. It matches what I'm seeing when building using only "-flto". On the binary size topic - please make sure you include only the drivers that you need in --with-dri-drivers and --with-gallium-drivers. Otherwise you'll end up with 'megadrivers' (all the drivers in a single binary) with hardlinks for each driver instance. The latter is for backwards compatibility. -Emil
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev