1
0

Accepting request 403930 from home:alois:branches:devel:libraries:c_c++

Fixes linking problem with Boost::Atomic on qbittorrent on aarch64.

OBS-URL: https://build.opensuse.org/request/show/403930
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtorrent-rasterbar?expand=0&rev=61
This commit is contained in:
Alexei Sorokin 2016-06-21 18:56:30 +00:00 committed by Git OBS Bridge
parent 3022751b81
commit f4581fa2be
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 21 18:33:03 UTC 2016 - aloisio@gmx.com
- Added explicit linking of libboost_devel for aarch64, see
https://svn.boost.org/trac/boost/ticket/9041
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 20 12:24:04 UTC 2016 - aloisio@gmx.com Mon Jun 20 12:24:04 UTC 2016 - aloisio@gmx.com

View File

@ -137,6 +137,10 @@ Documentation for the libtorrent-rasterbar package.
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS -std=c++11" export CXXFLAGS="$CFLAGS -std=c++11"
export LDFLAGS="%{optflags} -lrt" export LDFLAGS="%{optflags} -lrt"
# Some architectures require explicit linking of libboost_atomic on 1.55 and older.
%ifarch aarch64
export LIBS="-lboost_atomic"
%endif
%global _configure ../configure %global _configure ../configure
%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120200 && 0%{?is_opensuse}) %if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120200 && 0%{?is_opensuse})