diff options
author | Leonard Schmidt <lems@gmx.net> | 2018-06-13 07:44:13 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-06-13 07:44:13 +0700 |
commit | a847e17abd0ca232867475a10f4472668c22b1f8 (patch) | |
tree | 51194d9c266e6720831d44704a36708516540c67 /network/darkhttpd | |
parent | 6a3d64f7001f7e9faeffe711ee29dbc67bb4c3e8 (diff) | |
download | slackbuilds-a847e17abd0ca232867475a10f4472668c22b1f8.tar.gz |
network/darkhttpd: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/darkhttpd')
-rw-r--r-- | network/darkhttpd/darkhttpd.SlackBuild | 12 | ||||
-rw-r--r-- | network/darkhttpd/slack-desc | 2 |
2 files changed, 7 insertions, 7 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 diff --git a/network/darkhttpd/slack-desc b/network/darkhttpd/slack-desc index 28b418b02a..4a335c5634 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: |