aboutsummaryrefslogtreecommitdiff
path: root/network/pydio-sync
diff options
context:
space:
mode:
Diffstat (limited to 'network/pydio-sync')
-rw-r--r--network/pydio-sync/pydio-sync.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/pydio-sync/pydio-sync.SlackBuild b/network/pydio-sync/pydio-sync.SlackBuild
index fe8aa73aec617..4d8f2dfa88be5 100644
--- a/network/pydio-sync/pydio-sync.SlackBuild
+++ b/network/pydio-sync/pydio-sync.SlackBuild
@@ -26,12 +26,12 @@
PRGNAM=pydio-sync
VERSION=${VERSION:-1.2.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -83,7 +83,7 @@ PYTHONVER=$(python -c 'import sys; print sys.version[:3]')
# fix compiler flags
sed -i "/^CFLAGS/c\CFLAGS=$SLKCFLAGS" Makefile
- sed -i "/^CXXFLAGS/c\CXXFLAGS=$SLKCFLAGS" Makefile
+ sed -i "/^CXXFLAGS/c\CXXFLAGS=$SLKCFLAGS -std=c++11" Makefile
make
make install