add loongarch64 and sw_64 support
(cherry picked from commit cf8846b4dd23adbe9408c7e87fb03503ea9ed1f3)
This commit is contained in:
parent
2f5d0f7d60
commit
9715c70805
11
jimtcl.spec
11
jimtcl.spec
@ -1,6 +1,6 @@
|
||||
Name: jimtcl
|
||||
Version: 0.78
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: A small embeddable Tcl interpreter
|
||||
License: BSD
|
||||
URL: http://jim.tcl.tk
|
||||
@ -26,6 +26,12 @@ This package contains libraries and header files for developing applications tha
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%ifarch sw_64 loongarch64
|
||||
rm -rf autosetup/autosetup-config.sub
|
||||
rm -rf autosetup/autosetup-config.guess
|
||||
/usr/bin/cp -fv /usr/lib/rpm/%{_vendor}/config.guess autosetup/autosetup-config.guess
|
||||
/usr/bin/cp -fv /usr/lib/rpm/%{_vendor}/config.sub autosetup/autosetup-config.sub
|
||||
%endif
|
||||
export CC=gcc LD=ld AR=ar RANLIB=ranlib STRIP=strip
|
||||
%configure --full --shared --disable-option-checking
|
||||
%make_build
|
||||
@ -57,6 +63,9 @@ cd $RPM_BUILD_ROOT%{_libdir}; ln -s libjim.so.* libjim.so
|
||||
%exclude %{_libdir}/jim/{tcltest.tcl,README.extensions}
|
||||
|
||||
%changelog
|
||||
* Tue Aug 22 2023 panchenbo <panchenbo@kylinsec.com.cn> - 0.78-4
|
||||
- add loongarch64 and sw_64 support
|
||||
|
||||
* Thu Jun 03 2021 wulei <wulei80@huawei.com> - 0.78-3
|
||||
- fixes failed: Could not find a C compiler
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user