!16 Update config.guess and config.sub for loongarch64

From: @huajingyun 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
This commit is contained in:
openeuler-ci-bot 2023-05-23 09:05:49 +00:00 committed by Gitee
commit 4af23fd980
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 loongarch64
%_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
* Tue Dec 13 2022 huajingyun <huajingyun@loongson.cn> - 2.3.8-3
- update config.guess and config.sub for loongarch64
* Thu Aug 25 2022 Ge Wang <wangge20@h-partners.com> - 2.3.8-2
- add security compile option -fstack-protector-strong