diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-02 21:35:54 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-05 08:52:26 +0700 |
commit | 8f0f390d6dcb1753fd44509fa164c5db9b4fb302 (patch) | |
tree | f49caa2f41269596d9c334ce776b4332b1485183 /network/pydio-sync | |
parent | 819dd493dac02824b81d094b1a14fdd37402a216 (diff) |
network/pydio-sync: Fix build on x86_64.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/pydio-sync')
-rw-r--r-- | network/pydio-sync/pydio-sync.SlackBuild | 10 |
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 |