From dab3baff8c8a2f5051e958a1f619bbfcd1fb90b3 Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 6 Nov 2020 23:32:08 +0100 Subject: [PATCH] pixman: explicitly disable LTO on 32-bit ppc --- srcpkgs/pixman/template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srcpkgs/pixman/template b/srcpkgs/pixman/template index ca5bf9632b0..8893b72a050 100644 --- a/srcpkgs/pixman/template +++ b/srcpkgs/pixman/template @@ -23,6 +23,13 @@ if [ "$XBPS_CHECK_PKGS" ]; then configure_args+=" -Dlibpng=enabled -Dopenmp=enabled" fi +# disable LTO on 32-bit ppc since our use of -mno-altivec +# conflicts with the ppc accelerated paths in the lto pass +case "$XBPS_TARGET_MACHINE" in + ppc64*) ;; + ppc*) configure_args+=" -Db_lto=false" ;; +esac + post_install() { vlicense COPYING LICENSE }