!54 specify boost-libdir for loongarch64
From: @zhangwenlong01 Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
43fb1a2ab4
@ -38,7 +38,7 @@
|
||||
%global lua_configure --without-lua
|
||||
Name: thrift
|
||||
Version: 0.14.0
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: Software framework for cross-language services development
|
||||
License: ASL 2.0 and BSD and zlib
|
||||
URL: https://thrift.apache.org/
|
||||
@ -203,7 +203,11 @@ sed -i 's|-Dinstall.javadoc.path=$(DESTDIR)$(docdir)/java|-Dinstall.javadoc.path
|
||||
sed -i 's|$(INSTALL) $$p|$(INSTALL) --mode 644 $$p|g' lib/erl/Makefile.am
|
||||
sh ./bootstrap.sh
|
||||
export PYTHON=%{_bindir}/python3
|
||||
%ifarch loongarch64
|
||||
%configure --disable-dependency-tracking --disable-static --with-boost=/usr --with-boost-libdir=/usr/lib64 \
|
||||
%else
|
||||
%configure --disable-dependency-tracking --disable-static --with-boost=/usr \
|
||||
%endif
|
||||
--docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/thrift-%{version}} \
|
||||
%{java_configure} %{ruby_configure} %{erlang_configure} %{golang_configure} %{php_configure} %{lua_configure}
|
||||
sed -i -e 's/ -shared / -Wl,--as-needed\0/g' libtool
|
||||
@ -299,6 +303,9 @@ cp libthrift_dir/pom.xml %{buildroot}%{_datadir}/maven-poms/libthrift/libthrift.
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu May 18 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 0.14.0-6
|
||||
- specify boost-libdir for loongarch64
|
||||
|
||||
* Fri Dec 30 2022 Cao Jingbo <caojb@chinatelecom.cn> - 0.14.0-5
|
||||
- Use version macro relpace version number text.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user