aboutsummaryrefslogtreecommitdiff
path: root/network/ucspi-ssl/ucspi-ssl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ucspi-ssl/ucspi-ssl.SlackBuild')
-rw-r--r--network/ucspi-ssl/ucspi-ssl.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/network/ucspi-ssl/ucspi-ssl.SlackBuild b/network/ucspi-ssl/ucspi-ssl.SlackBuild
index db2b20272a602..e8ec09b5758ef 100644
--- a/network/ucspi-ssl/ucspi-ssl.SlackBuild
+++ b/network/ucspi-ssl/ucspi-ssl.SlackBuild
@@ -12,7 +12,7 @@ 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
@@ -23,8 +23,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"
@@ -59,7 +59,6 @@ echo $PKG/usr/bin > package/command-cp
patch -p1 < $CWD/$PRGNAM-$VERSION.SlackBuild.patch
-# Compile the application and install it into the $PKG directory
./package/compile
./package/install