network/darkhttpd: Switch to i586.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Leonard Schmidt 2018-06-13 07:44:13 +07:00 committed by Willy Sudiarto Raharjo
parent 6a3d64f700
commit a847e17abd
2 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -14,6 +14,6 @@ darkhttpd: requests, can log accesses, including Referer and User-Agent;
darkhttpd: it can chroot and drop privileges. darkhttpd only serves static
darkhttpd: content, no CGI.
darkhttpd:
darkhttpd: Homepage: http://www.eterna.com.au/darkhttpd/
darkhttpd: Homepage: https://unix4lyfe.org/darkhttpd/
darkhttpd:
darkhttpd: