From 8f0f390d6dcb1753fd44509fa164c5db9b4fb302 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 2 Jul 2017 21:35:54 +0700 Subject: network/pydio-sync: Fix build on x86_64. Signed-off-by: Willy Sudiarto Raharjo --- network/pydio-sync/pydio-sync.SlackBuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'network') diff --git a/network/pydio-sync/pydio-sync.SlackBuild b/network/pydio-sync/pydio-sync.SlackBuild index fe8aa73aec61..4d8f2dfa88be 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 -- cgit v1.2.3