summaryrefslogtreecommitdiff
path: root/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
diff options
context:
space:
mode:
authorDave Woodfall <dave@dawoodfall.net>2018-02-19 00:48:50 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2018-02-19 01:02:02 +0000
commitc56acbfa8edd4e9fb8bbf5d32ea2ba4fa4784b05 (patch)
treeb14cd840269610ec567b97e3ea35c3a35756b51b /libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
parent2756df3a19f67af3d327aeceecddca115e940a14 (diff)
downloadslackbuilds-c56acbfa8edd4e9fb8bbf5d32ea2ba4fa4784b05.tar.gz
libraries/libtorrent-rasterbar: Change compiler & build options.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild')
-rw-r--r--libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
index 3ae33cfde3..049571ef4a 100644
--- a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
+++ b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=libtorrent-rasterbar
VERSION=${VERSION:-1.0.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -70,7 +70,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++11" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
./configure \
--prefix=/usr \
@@ -79,8 +79,10 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
--localstatedir=/var/lib \
--disable-static \
--enable-python-binding \
+ --enable-encryption \
--with-boost-libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-libgeoip \
+ --with-libgeoip=system \
+ --disable-debug \
--build=$ARCH-slackware-linux
make