diff --git a/Build.sh b/Build.sh index cf004e7..fa8d6c7 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirOS: src/bin/mksh/Build.sh,v 1.148 2007/01/28 20:05:29 tg Exp $ +# $MirOS: src/bin/mksh/Build.sh,v 1.149 2007/02/02 10:27:21 tg Exp $ #- # Env: CC, CFLAGS, CPP, CPPFLAGS, LDFLAGS, LIBS, NOWARN, NROFF, TARGET_OS # CPPFLAGS recognised: MKSH_SMALL MKSH_NOPWNAM @@ -188,18 +188,16 @@ DragonFly) FreeBSD) ;; GNU/kFreeBSD) - # XXX probably the same as Linux? echo Warning: mksh has not yet been ported to $TARGET_OS >&2 echo but should work. If you can provide a shell account >&2 echo to the developer, the situation may improve. >&2 - CPPFLAGS="$CPPFLAGS -D_BSD_SOURCE" + CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" ;; Interix) CPPFLAGS="$CPPFLAGS -D_ALL_SOURCE" ;; Linux) - CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_GNU_SOURCE" - CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" + CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" test def = $s && s=pam : ${HAVE_REVOKE=0} ;;