1
0
Alexei Sorokin
2016-07-03 16:21:10 +00:00
committed by Git OBS Bridge
parent bfd63d6526
commit 221ddb372e
2 changed files with 12 additions and 4 deletions

View File

@@ -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.
-------------------------------------------------------------------

View File

@@ -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