[Mesa-dev] [PATCH] mesa: Enable LTO compilation

0xe2.0x9a.0x9b at gmail.com
Mon May 30 17:28:41 UTC 2016


This patch enables compilation with -flto.

The performance benefits of LTO (GCC 4.9 & 6.1) are about 1% for glxgears.
Performance changes in OpenGL games haven't been measured yet, my feeling
is that they are negligible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160530/cbcc7690/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lto.patch
Type: text/x-patch
Size: 803 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160530/cbcc7690/attachment.bin>


More information about the mesa-dev mailing list