add loongarch support for emacs
Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
This commit is contained in:
parent
6e3005f17c
commit
5ceb8d759d
@ -8,7 +8,7 @@
|
||||
Name: emacs
|
||||
Epoch: 1
|
||||
Version: 27.2
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: An extensible GNU text editor
|
||||
License: GPLv3+ and CC0-1.0
|
||||
URL: http://www.gnu.org/software/emacs
|
||||
@ -157,6 +157,10 @@ ln -s ../../%{name}/%{version}/etc/COPYING doc
|
||||
ln -s ../../%{name}/%{version}/etc/NEWS doc
|
||||
|
||||
%build
|
||||
%ifarch loongarch64
|
||||
%_update_config_guess
|
||||
%_update_config_sub
|
||||
%endif
|
||||
export CFLAGS="-DMAIL_USE_LOCKF $RPM_OPT_FLAGS -fPIE"
|
||||
|
||||
# Build GTK+ binary
|
||||
@ -403,6 +407,9 @@ fi
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Fri Nov 18 2022 Wenlong Zhang<zhangwenlong@loongson.cn> - 1:27.2-7
|
||||
- add loongarch support for emacs
|
||||
|
||||
* Fri Aug 26 2022 zhujunhao <zhujunhao11@huawei.com> - 1:27.2-6
|
||||
- close bootstrap with product_family
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user