summaryrefslogtreecommitdiff
path: root/network/darkhttpd/darkhttpd.SlackBuild
diff options
context:
space:
mode:
authorLeonard Schmidt <lems@gmx.net>2018-06-13 07:44:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-06-13 07:44:13 +0700
commita847e17abd0ca232867475a10f4472668c22b1f8 (patch)
tree51194d9c266e6720831d44704a36708516540c67 /network/darkhttpd/darkhttpd.SlackBuild
parent6a3d64f7001f7e9faeffe711ee29dbc67bb4c3e8 (diff)
downloadslackbuilds-a847e17abd0ca232867475a10f4472668c22b1f8.tar.gz
network/darkhttpd: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/darkhttpd/darkhttpd.SlackBuild')
-rw-r--r--network/darkhttpd/darkhttpd.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/darkhttpd/darkhttpd.SlackBuild b/network/darkhttpd/darkhttpd.SlackBuild
index 0793c760db..d3c8310d21 100644
--- a/network/darkhttpd/darkhttpd.SlackBuild
+++ b/network/darkhttpd/darkhttpd.SlackBuild
@@ -29,7 +29,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
@@ -40,17 +40,17 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-fPIC"
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS=""
+ SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi