Created attachment 48934 [details] [review] cairo-check-lto.patch Some setups accept -flto, but produce unlinkable binaries. So test to link (and not just to compile) -flto before using it.
commit d486ea30f1a58640a1178de74f705a73845b1cda Author: Marcus Meissner <meissner@suse.de> Date: Sat Apr 14 14:47:02 2012 +0100 configure: Conditionally include -flto As some systems fail to create working binaries with when linked with lto, perform a check during configure. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=39114
Uhm, how did you test this patch? To me, it looks like this patch doesn't actually do anything, because AC_TRY_LINK() does not use MAYBE_WARN, does it?
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.