forked from pool/libtorrent-rasterbar
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtorrent-rasterbar?expand=0&rev=63
This commit is contained in:
committed by
Git OBS Bridge
parent
bfd63d6526
commit
221ddb372e
@@ -1,6 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 29 19:09:10 UTC 2016 - sor.alexei@meowr.ru
|
||||
|
||||
- Remove "-lrt" link hack.
|
||||
- Don't force C++11 on openSUSE newer than Leap 42.x.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 29 19:09:10 UTC 2016 - sor.alexei@meowr.ru
|
||||
|
||||
- Disable Python3 support for openSUSE Leap 42.x after all.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
@@ -134,11 +134,13 @@ Documentation for the libtorrent-rasterbar package.
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
export CXXFLAGS="$CFLAGS -std=c++11"
|
||||
export LDFLAGS="%{optflags} -lrt"
|
||||
# Some architectures require explicit linking of libboost_atomic on 1.55 and older.
|
||||
export CXXFLAGS="$CFLAGS"
|
||||
%if 0%{?suse_version} <= 1320
|
||||
export CXXFLAGS="$CXXFLAGS -std=c++11"
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
export LIBS="-lboost_atomic"
|
||||
# Some architectures require explicit linkage to libboost_atomic on boost 1.55 and older.
|
||||
export LIBS="$LIBS -lboost_atomic"
|
||||
%endif
|
||||
|
||||
%global _configure ../configure
|
||||
|
Reference in New Issue
Block a user