Hi, I am hitting some issues when trying to build a project with CLFAGS="-flto -ffat-lto-objects" (to generate objects with both LTO information and regular code), but without using LTO at link time (because I don't want to use just now, but I want to still allow me to use it later). For that I link with LDFLAGS="-fno-lto".
However libtool doesn't pass this "-fno-lto" to the linker. This patch fixes this. (I hope gmail.com will not transform my attachment as base64 attachment, sorry for the inconvenience if it happens...). Cheers, Romain
0001-Allow-linking-with-fno-lto.patch
Description: Binary data