!43 add options for cross build
From: @compile_success Reviewed-by: @yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
43d7ab13ef
14
ncurses.spec
14
ncurses.spec
@ -1,6 +1,6 @@
|
||||
Name: ncurses
|
||||
Version: 6.4
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Terminal control library
|
||||
License: MIT
|
||||
URL: https://invisible-island.net/ncurses/ncurses.html
|
||||
@ -102,7 +102,11 @@ common_options="--enable-colorfgbg --enable-hard-tabs --enable-overwrite \
|
||||
--with-shared \
|
||||
--with-terminfo-dirs=%{_sysconfdir}/terminfo:%{_datadir}/terminfo \
|
||||
--with-termlib=tinfo --with-ticlib=tic --with-xterm-kbs=DEL \
|
||||
--without-ada"
|
||||
--without-ada \
|
||||
%if 0%{?build_cross} == 1
|
||||
--with-build-cc=/usr/bin/gcc \
|
||||
%endif
|
||||
"
|
||||
abi5_options="--with-chtype=long"
|
||||
|
||||
for abi in 5 6; do
|
||||
@ -240,6 +244,12 @@ xz NEWS
|
||||
%{_mandir}/man7/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 28 2023 zhujunhao <zhujunhao11@huawei.com> - 6.4-2
|
||||
- Type:requirement
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:add options for cross build
|
||||
|
||||
* Thu Feb 02 2023 yanglu <yanglu72@h-partners.com> - 6.4-1
|
||||
- Type:requirement
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user