glibc now causes warnings with set[ug]id also on kFreeBSD and Hurd
This commit is contained in:
parent
fd5360903d
commit
7771c3b7d2
6
Build.sh
6
Build.sh
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.694 2015/12/31 21:16:20 tg Exp $'
|
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.695 2016/01/02 20:11:31 tg Exp $'
|
||||||
#-
|
#-
|
||||||
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
# 2011, 2012, 2013, 2014, 2015
|
# 2011, 2012, 2013, 2014, 2015, 2016
|
||||||
# mirabilos <m@mirbsd.org>
|
# mirabilos <m@mirbsd.org>
|
||||||
#
|
#
|
||||||
# Provided that these terms and disclaimer and all copyright notices
|
# Provided that these terms and disclaimer and all copyright notices
|
||||||
|
@ -745,6 +745,7 @@ GNU)
|
||||||
*tendracc*) ;;
|
*tendracc*) ;;
|
||||||
*) add_cppflags -D_GNU_SOURCE ;;
|
*) add_cppflags -D_GNU_SOURCE ;;
|
||||||
esac
|
esac
|
||||||
|
add_cppflags -DSETUID_CAN_FAIL_WITH_EAGAIN
|
||||||
# define MKSH__NO_PATH_MAX to use Hurd-only functions
|
# define MKSH__NO_PATH_MAX to use Hurd-only functions
|
||||||
add_cppflags -DMKSH__NO_PATH_MAX
|
add_cppflags -DMKSH__NO_PATH_MAX
|
||||||
;;
|
;;
|
||||||
|
@ -753,6 +754,7 @@ GNU/kFreeBSD)
|
||||||
*tendracc*) ;;
|
*tendracc*) ;;
|
||||||
*) add_cppflags -D_GNU_SOURCE ;;
|
*) add_cppflags -D_GNU_SOURCE ;;
|
||||||
esac
|
esac
|
||||||
|
add_cppflags -DSETUID_CAN_FAIL_WITH_EAGAIN
|
||||||
;;
|
;;
|
||||||
Haiku)
|
Haiku)
|
||||||
add_cppflags -DMKSH_ASSUME_UTF8; HAVE_ISSET_MKSH_ASSUME_UTF8=1
|
add_cppflags -DMKSH_ASSUME_UTF8; HAVE_ISSET_MKSH_ASSUME_UTF8=1
|
||||||
|
|
Loading…
Reference in New Issue