From 7fc9e1b4929a590b512138238b3cad03ae37dd0a Mon Sep 17 00:00:00 2001 From: tg Date: Mon, 3 Dec 2012 22:10:02 +0000 Subject: [PATCH] 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! --- Build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Build.sh b/Build.sh index b678013..eaaef32 100644 --- a/Build.sh +++ b/Build.sh @@ -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