diff options
author | markus reichelt <slackbuilds@mareichelt.de> | 2011-10-15 08:27:59 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-10-22 10:17:07 -0200 |
commit | fd3d12b73a68a36dc72dba9461166df65aeb6d78 (patch) | |
tree | a11a545f546de79ca70714b0ce76b2549062557e /system/mksh/mksh.SlackBuild | |
parent | e41ad9798edeac52126fc89b43a578920d2f48bc (diff) |
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.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/system/mksh/mksh.SlackBuild b/system/mksh/mksh.SlackBuild index 98967c41b0c0f..d6f0a02210553 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 |