From 60ca9efc4caa8288536ad097fec4144e85c4cd55 Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 18 Dec 2019 02:43:02 +0100 Subject: [PATCH] gmic: fix build on ppc --- srcpkgs/gmic/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/gmic/template b/srcpkgs/gmic/template index e45f742c52..58498e25ea 100644 --- a/srcpkgs/gmic/template +++ b/srcpkgs/gmic/template @@ -20,6 +20,10 @@ nocross="https://build.voidlinux.org/builders/armv7l_builder/builds/8869/steps/s pre_build() { # Fix library names for openexr-2.4.0 vsed -i Makefile -e "s;-lIlmImf -lHalf;-lIlmImf-2_4 -lHalf-2_4;" + # Not supported on ppc but we already compile for baselines + case "$XBPS_TARGET_MACHINE" in + ppc*) vsed -i Makefile -e 's;-mtune=generic;;' ;; + esac } post_install() {