diff --git a/srcpkgs/gmic/template b/srcpkgs/gmic/template index e45f742c52b..58498e25ea0 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() {