!6 fix failure caused by GCC upgrade to 10

From: @Lin__Jiaxin
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-02 14:04:32 +00:00 committed by Gitee
commit 000f37a359

View File

@ -6,7 +6,7 @@
Name: x3270
Version: 3.6ga5
Release: 4
Release: 5
Summary: An IBM 3270 terminal emulator for the X Window System and Windows.
License: BSD
URL: http://x3270.sourceforge.net/
@ -78,7 +78,7 @@ done
--enable-pr3287 \
--enable-s3270 \
--enable-x3270
%make_build CCOPTIONS="$RPM_OPT_FLAGS" LIBX3270DIR=%{_sysconfdir}
%make_build CCOPTIONS="$RPM_OPT_FLAGS -fcommon" LIBX3270DIR=%{_sysconfdir}
pushd Playback
make CFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS"
@ -122,5 +122,8 @@ popd
%changelog
* Fri Jul 30 2021 linjiaxin5 <linjiaxin5@huawei.com> - 3.6ga5-5
- Fix failure caused by GCC upgrade to 10
* Sat Nov 30 2019 huyan <hu.huyan@huawei.com> - 3.6ga5-4
- Package Initialization