summaryrefslogtreecommitdiff
path: root/system/mksh/mksh.SlackBuild
diff options
context:
space:
mode:
authormarkus reichelt <slackbuilds@mareichelt.de>2011-10-15 08:27:59 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-22 10:17:07 -0200
commitfd3d12b73a68a36dc72dba9461166df65aeb6d78 (patch)
treea11a545f546de79ca70714b0ce76b2549062557e /system/mksh/mksh.SlackBuild
parente41ad9798edeac52126fc89b43a578920d2f48bc (diff)
downloadslackbuilds-fd3d12b73a68a36dc72dba9461166df65aeb6d78.tar.gz
system/mksh: Upstream review; minor tweaks, updated TaC-mksh.txt added
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/mksh/mksh.SlackBuild')
-rw-r--r--system/mksh/mksh.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/mksh/mksh.SlackBuild b/system/mksh/mksh.SlackBuild
index 98967c41b0..d6f0a02210 100644
--- a/system/mksh/mksh.SlackBuild
+++ b/system/mksh/mksh.SlackBuild
@@ -27,10 +27,11 @@
# 2011 Mar 20 - initial release
# 2011 Jun 13 - adapted to R40
# 2011 Aug 27 - adapted to R40b
+# 2011 Sep 07 - upstream review; minor tweaks, updated TaC-mksh.txt added
PRGNAM=mksh
VERSION=${VERSION:-R40b}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -75,7 +76,8 @@ if [ "$STATIC" = "yes" ]; then
fi
if [ "$DIET" = "yes" ]; then
- CC="diet gcc -nostdinc"
+ CC="diet -Os gcc"
+ SLKCFLAGS="${SLKCFLAGS} -Wall"
else
CC="gcc"
fi
@@ -90,7 +92,7 @@ LDFLAGS=$LDFLAGS \
CPPFLAGS=$CPPFLAGS \
CFLAGS=$SLKCFLAGS \
CC=$CC \
- sh ../Build.sh -r -c combine
+ sh ../Build.sh -r -c lto
ginstall -D -m 755 mksh $PKG/bin/mksh
ginstall -D -m 644 ../mksh.1 $PKG/usr/man/man1/mksh.1