!18 fix build error for loongarch64
From: @zhangwenlong01 Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
2967859f90
@ -1,7 +1,7 @@
|
|||||||
%global need_bootstrap_set 0
|
%global need_bootstrap_set 0
|
||||||
%{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}}
|
%{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}}
|
||||||
%bcond_with doc
|
%bcond_with doc
|
||||||
%ifarch %{arm} %{ix86} x86_64 ppc %{power64}
|
%ifarch %{arm} %{ix86} x86_64 ppc %{power64} loongarch64
|
||||||
%global __with_hipe 1
|
%global __with_hipe 1
|
||||||
%endif
|
%endif
|
||||||
%global __with_emacs 1
|
%global __with_emacs 1
|
||||||
@ -11,7 +11,7 @@
|
|||||||
%global __with_wxwidgets 1
|
%global __with_wxwidgets 1
|
||||||
Name: erlang
|
Name: erlang
|
||||||
Version: 23.3.4.9
|
Version: 23.3.4.9
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: General-purpose programming language and runtime environment
|
Summary: General-purpose programming language and runtime environment
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://www.erlang.org
|
URL: https://www.erlang.org
|
||||||
@ -1474,7 +1474,9 @@ useradd -r -g epmd -d /dev/null -s /sbin/nologin \
|
|||||||
%dir %{_libdir}/erlang/lib/wx-*/
|
%dir %{_libdir}/erlang/lib/wx-*/
|
||||||
%{_libdir}/erlang/lib/wx-*/ebin
|
%{_libdir}/erlang/lib/wx-*/ebin
|
||||||
%{_libdir}/erlang/lib/wx-*/include
|
%{_libdir}/erlang/lib/wx-*/include
|
||||||
|
%ifnarch loongarch64
|
||||||
%{_libdir}/erlang/lib/wx-*/priv
|
%{_libdir}/erlang/lib/wx-*/priv
|
||||||
|
%endif
|
||||||
%{_libdir}/erlang/lib/wx-*/src
|
%{_libdir}/erlang/lib/wx-*/src
|
||||||
%if %{with doc}
|
%if %{with doc}
|
||||||
%{_mandir}/man3/gl.*
|
%{_mandir}/man3/gl.*
|
||||||
@ -1725,6 +1727,9 @@ useradd -r -g epmd -d /dev/null -s /sbin/nologin \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 8 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 23.3.4.9-4
|
||||||
|
- fix build error for loongarch64
|
||||||
|
|
||||||
* Fri Feb 10 2023 yaoxin <yaoxin30@h-partners.com> - 23.3.4.9-3
|
* Fri Feb 10 2023 yaoxin <yaoxin30@h-partners.com> - 23.3.4.9-3
|
||||||
- Fix build failed due to emacs update to 28.2
|
- Fix build failed due to emacs update to 28.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user