Fix CC compiler support

Signed-off-by: shafeipaozi <sunbo.oerv@isrc.iscas.ac.cn>
(cherry picked from commit e16d43dc4b64db60e1f47312f77994e5fe649803)
This commit is contained in:
SaltyFruit 2023-04-13 18:35:25 +08:00 committed by openeuler-sync-bot
parent 7c1e83361a
commit 1eff2e6445

View File

@ -1,7 +1,7 @@
Summary: A line-oriented text editor
Name: ed
Version: 1.19
Release: 1
Release: 2
License: GPLv3+ and GFDL-1.3
# Note: Upstream provides only lzip compressed tarballs so we repacked from:
#Source: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz
@ -33,7 +33,7 @@ Man pages and other related documents.
%setup -q
%build
%configure
%configure CC=%{__cc}
%make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
%install
@ -60,6 +60,9 @@ fi
%{_infodir}/ed.info*
%changelog
* Thu Apr 13 2023 Xiaoya Huang <huangxiaoya@iscas.ac.cn> - 1.19-2
- Fix CC compiler support
* Tue Jan 17 2023 dillon chen <dillon.chen@gmail.com> - 1.19-1
- update to 1.19