diff options
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 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 |