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

āš› 0xe2.0x9a.0x9b at gmail.com
Mon May 30 18:12:04 UTC 2016


On Mon, May 30, 2016 at 8:07 PM, Pierre Moreau <pierre.morrow at free.fr> wrote:
> On 07:28 PM - May 30 2016, āš› wrote:
>> +if COMPILER_UNDERSTANDS_LTO
>> +CFLAGS += -fno-lto
>> +CXXFLAGS += -fno-lto
>
> This should be `-flto` if Iā€™m not mistaken.
>
> Pierre

-fno-lto is correct because GCC has issues compiling the assembler
statements in C files in that directory.


More information about the mesa-dev mailing list