From cda32bde76cd8f15a9709fb5a69c7d7f386d55e8 Mon Sep 17 00:00:00 2001 From: laokz Date: Wed, 28 Jun 2023 10:50:03 +0800 Subject: [PATCH] update config.guess for riscv64 Signed-off-by: wangyangdahai --- motif.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/motif.spec b/motif.spec index b4d4046..65f6c59 100644 --- a/motif.spec +++ b/motif.spec @@ -1,6 +1,6 @@ Name: motif Version: 2.3.8 -Release: 2 +Release: 3 Summary: Run-time libraries and programs License: LGPLv2+ URL: https://motif.ics.com/ @@ -41,6 +41,10 @@ This package includes man files for %{name}. %prep %autosetup -p1 sed -i 's/-fno-strict-aliasing/-fstack-protector-strong -fno-strict-aliasing/g' configure.ac +%ifarch riscv64 +%_update_config_guess +%_update_config_sub +%endif %build CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" @@ -82,6 +86,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_mandir}/man*/* %changelog +* Wed Jun 28 2023 laokz - 2.3.8-3 +- update config.guess and config.sub for riscv64 + * Thu Aug 25 2022 Ge Wang - 2.3.8-2 - add security compile option -fstack-protector-strong -- Gitee