diff options
author | Leonard Schmidt <lems@gmx.net> | 2018-06-15 23:06:07 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-06-17 19:13:22 +0100 |
commit | 8a23ec9c5e15e173aeeae61c28d7d94a73103252 (patch) | |
tree | e9ea28dc15fead24803f9b69b571097cfa35dd14 /network/bozohttpd | |
parent | bfd08171075a5fe9edd38fabb8f53e5a52bbcbed (diff) | |
download | slackbuilds-8a23ec9c5e15e173aeeae61c28d7d94a73103252.tar.gz |
network/bozohttpd: Update cflags.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/bozohttpd')
-rw-r--r-- | network/bozohttpd/bozohttpd.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/network/bozohttpd/bozohttpd.SlackBuild b/network/bozohttpd/bozohttpd.SlackBuild index 2b00afb9f5..c9e6fe12af 100644 --- a/network/bozohttpd/bozohttpd.SlackBuild +++ b/network/bozohttpd/bozohttpd.SlackBuild @@ -41,16 +41,16 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-march=i586 -mtune=i686" + 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 @@ -72,7 +72,7 @@ find -L . \ cp Makefile.boot Makefile # Fix build (from Arch Linux' AUR). sed -i 's/d_namlen/d_reclen/g' bozohttpd.c -make +make OPT="$SLKCFLAGS" mkdir -p $PKG/usr/{bin,man/man8} install -m755 bozohttpd $PKG/usr/bin |