Enable -ffp-contract=off for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
d6e08362f4
commit
91aa2f072a
2
gd.spec
2
gd.spec
@ -145,7 +145,7 @@ CFLAGS="$RPM_OPT_FLAGS -DDEFAULT_FONTPATH='\"\
|
|||||||
CFLAGS="$CFLAGS -msse -mfpmath=sse"
|
CFLAGS="$CFLAGS -msse -mfpmath=sse"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch aarch64 ppc64 ppc64le s390 s390x x86_64
|
%ifarch aarch64 ppc64 ppc64le s390 s390x x86_64 riscv64
|
||||||
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1359680
|
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1359680
|
||||||
export CFLAGS="$CFLAGS -ffp-contract=off"
|
export CFLAGS="$CFLAGS -ffp-contract=off"
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user