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 }