File cairo-disable-lto.patch of Package cairo.1837

Index: cairo-1.12.16/build/
--- cairo-1.12.16.orig/build/
+++ cairo-1.12.16/build/
@@ -36,16 +36,6 @@ MAYBE_WARN="$MAYBE_WARN -erroff=E_ENUM_T
 dnl We also abuse the warning-flag facility to enable other compiler
 dnl options.  Namely, the following:
-dnl -flto working really needs a test link, not just a compile
-	int main(int argc, char **argv) { return 0; }
 MAYBE_WARN="$MAYBE_WARN -fno-strict-aliasing -fno-common"
 dnl Also to turn various gcc/glibc-specific preprocessor checks
openSUSE Build Service is sponsored by