disable mtune for s390x, armv7hl and ppc64le

This commit is contained in:
josef radinger 2020-04-02 20:00:11 +02:00
parent 2373e2a689
commit 996ad94577

View File

@ -44,6 +44,8 @@ BuildRequires: gcc-c++
Obsoletes: gmic-static <= 2.1.8
Patch1: gmic_opencv.patch
Patch2: Makefile_arch.patch
%description
G'MIC is an open and full-featured framework for image processing, providing
@ -79,6 +81,10 @@ Provides a plugin for using G'MIC from GIMP
%setup -q -a 1 -a 2 -a 3
%patch1 -p1 -b.opencv
%ifarch %{arm} s390x ppc64le
%patch2 -p1 -b.arch
%endif
%build
export CCACHE_DISABLE=1
cd src