Fix build with -march=x86-64-v3
While it hasn't been necessary for x86_64 baseline, setting -march=x86-64-v3 (as in ELN) triggers test failures in spmatrix. Adding -ffp-contract=off as on most other arches avoids that. Resolves: rhbz#2216730
This commit is contained in:
parent
7bd4829a25
commit
e53c60f4f2
2
gsl.spec
2
gsl.spec
@ -42,7 +42,7 @@ mv THANKS.aux THANKS
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
# disable FMA
|
# disable FMA
|
||||||
%ifarch aarch64 ppc64 ppc64le s390 s390x
|
%ifarch aarch64 ppc64 ppc64le s390 s390x x86_64
|
||||||
export CFLAGS="%{optflags} -ffp-contract=off"
|
export CFLAGS="%{optflags} -ffp-contract=off"
|
||||||
%endif
|
%endif
|
||||||
%configure
|
%configure
|
||||||
|
Loading…
Reference in New Issue
Block a user