From a847e17abd0ca232867475a10f4472668c22b1f8 Mon Sep 17 00:00:00 2001 From: Leonard Schmidt Date: Wed, 13 Jun 2018 07:44:13 +0700 Subject: network/darkhttpd: Switch to i586. Signed-off-by: Willy Sudiarto Raharjo --- network/darkhttpd/darkhttpd.SlackBuild | 12 ++++++------ network/darkhttpd/slack-desc | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'network') diff --git a/network/darkhttpd/darkhttpd.SlackBuild b/network/darkhttpd/darkhttpd.SlackBuild index 0793c760db21c..d3c8310d218c5 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 diff --git a/network/darkhttpd/slack-desc b/network/darkhttpd/slack-desc index 28b418b02ad29..4a335c56346e6 100644 --- a/network/darkhttpd/slack-desc +++ b/network/darkhttpd/slack-desc @@ -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: -- cgit v1.2.3