From 9981f691d1e0b6ce741a40fd0b2a4b39ee92ddc9 Mon Sep 17 00:00:00 2001 From: tg Date: Sun, 21 Mar 2004 02:49:39 +0000 Subject: [PATCH] in case someone wants to build a more small, posixlike sh... --- BuildGNU.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BuildGNU.sh b/BuildGNU.sh index d45935e..fb123b6 100644 --- a/BuildGNU.sh +++ b/BuildGNU.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirBSD: BuildGNU.sh,v 1.3 2004/03/21 02:47:58 tg Exp $ +# $MirBSD: BuildGNU.sh,v 1.4 2004/03/21 02:49:39 tg Exp $ #- # Copyright (c) 2004 # Thorsten "mirabile" Glaser @@ -21,7 +21,7 @@ # Build the mirbsdksh on GNU operating systems CC="${CC:-gcc}" -CPPFLAGS="$CPPFLAGS -DKSH -DHAVE_CONFIG_H -I." +CPPFLAGS="$CPPFLAGS -DHAVE_CONFIG_H -I." CFLAGS="-O2 -fomit-frame-pointer -fno-strict-aliasing -static $CFLAGS" if [ -e strlcpy.c -a -e strlcat.c ]; then @@ -31,7 +31,7 @@ if [ -e strlcpy.c -a -e strlcat.c ]; then /bin/sh ./siglist.sh "gcc -E $CPPFLAGS" siglist.out /bin/sh ./emacs-gen.sh emacs.c >emacs.out echo "Building..." - $CC $CFLAGS $CPPFLAGS -o ksh *.c + $CC $CFLAGS $CPPFLAGS -DKSH -o ksh *.c echo "Finalizing..." tbl ksh.cat1 strip --strip-unneeded --strip-all -R .note -R .comment ksh