revert cid 100506499941EC578A6: musl has _ALL_SOURCE now, aliased to

_GNU_SOURCE which we already define for convenience; thanks to dalias
and chris2 on IRC for discussion and being accomodating!
This commit is contained in:
tg 2012-12-03 22:10:02 +00:00
parent 2213c5887a
commit 7fc9e1b492
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.596 2012/12/03 13:07:11 tg Exp $'
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.597 2012/12/03 22:10:02 tg Exp $'
#-
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012
@ -594,7 +594,6 @@ IRIX*)
Linux)
case $CC in
*tendracc*) ;;
*/musl-gcc*) add_cppflags -D_GNU_SOURCE -D_BSD_SOURCE ;;
*) add_cppflags -D_GNU_SOURCE ;;
esac
add_cppflags -DSETUID_CAN_FAIL_WITH_EAGAIN
@ -1481,7 +1480,7 @@ else
#define EXTERN
#define MKSH_INCLUDES_ONLY
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.596 2012/12/03 13:07:11 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.597 2012/12/03 22:10:02 tg Exp $");
int main(void) { printf("Hello, World!\n"); return (0); }
EOF
case $cm in