From 21946e16bc62b56822849bce1c52950e5a721de8 Mon Sep 17 00:00:00 2001 From: B. Watson Date: Tue, 21 Mar 2017 04:07:36 -0400 Subject: network/ctorrent: i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- network/ctorrent/ctorrent.SlackBuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'network/ctorrent/ctorrent.SlackBuild') diff --git a/network/ctorrent/ctorrent.SlackBuild b/network/ctorrent/ctorrent.SlackBuild index 4994bf509f..42ef7c1fac 100644 --- a/network/ctorrent/ctorrent.SlackBuild +++ b/network/ctorrent/ctorrent.SlackBuild @@ -31,7 +31,7 @@ PKGVERSION=dnh${VERSION} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,8 @@ OUTPUT=${OUTPUT:-/tmp} DOCS="AUTHORS ChangeLog* COPYING NEWS README* UserGuide VERSION" -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" @@ -71,7 +71,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Configure and build the sources: use "--with-ssl=no" so that ctorrent uses -# it's own internal SHA-1 routines and does not have to depend on openssl. +# its own internal SHA-1 routines and does not have to depend on openssl. CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -98,4 +98,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - -- cgit v1.2.3