From 31e344560944b807b8a486ca0bc558f07966d18d Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 23 Sep 2015 19:06:36 +0200 Subject: [PATCH] disable FMA support to get it pass all tests on secondary architectures --- cockpit.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/cockpit.spec b/cockpit.spec index 919b560..3f09135 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -1,12 +1,11 @@ %define tag 0.77 -%define rel 1 +%define rel 2 # Globals that might be defined elsewhere # * gitcommit xxxx # * selinux 1 # * tag 0.71 %define branding auto -%define rel 1 %if %{defined gitcommit} %define extra_flags CFLAGS='-O2 -Wall -Werror -fPIC -g' @@ -156,6 +155,11 @@ The Cockpit Web Service listens on the network, and authenticates users. %endif %build +# disable FMA +%ifarch aarch64 %{power64} +export CFLAGS="$RPM_OPT_FLAGS -ffp-contract=off" +%endif + %if %{defined gitcommit} env NOCONFIGURE=1 ./autogen.sh %endif @@ -469,6 +473,10 @@ fi %endif %changelog +* Wed Sep 23 2015 Marcin Juszkiewicz - 0.77-1.1 +- disable FMA support to get it pass all tests on secondary architectures +- removed duplicated "global rel 1" + * Tue Sep 22 2015 Stef Walter - 0.77-1 - * Work better with multipath storage - * Deletion of kubernetes objects