!40 修复riscv64上-ffp-contract错误
From: @laokz Reviewed-by: @leeffo Signed-off-by: @leeffo
This commit is contained in:
commit
d023e6a2cf
7
gd.spec
7
gd.spec
@ -1,6 +1,6 @@
|
|||||||
Name: gd
|
Name: gd
|
||||||
Version: 2.3.3
|
Version: 2.3.3
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A graphics library for quick creation of PNG or JPEG images
|
Summary: A graphics library for quick creation of PNG or JPEG images
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://libgd.github.io/
|
URL: http://libgd.github.io/
|
||||||
@ -65,7 +65,7 @@ CFLAGS="$RPM_OPT_FLAGS -DDEFAULT_FONTPATH='\"\
|
|||||||
export CFLAGS="$CFLAGS -msse -mfpmath=sse"
|
export CFLAGS="$CFLAGS -msse -mfpmath=sse"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch aarch64 ppc64 ppc64le s390 s390x loongarch64
|
%ifarch aarch64 ppc64 ppc64le s390 s390x loongarch64 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
|
||||||
@ -108,6 +108,9 @@ grep %{version} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdlib.pc
|
|||||||
%exclude %{_libdir}/libgd.a
|
%exclude %{_libdir}/libgd.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 05 2023 laokz <zhangkai@iscas.ac.cn> - 2.3.3-4
|
||||||
|
- fix build error for riscv64
|
||||||
|
|
||||||
* Mon Feb 13 2023 zhangpan <zhangpan103@h-partners.com> - 2.3.3-3
|
* Mon Feb 13 2023 zhangpan <zhangpan103@h-partners.com> - 2.3.3-3
|
||||||
- fix build error for loongarch64
|
- fix build error for loongarch64
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user