From: H.Merijn Brand Date: Mon, 17 Jul 2006 06:51:54 +0000 (+0000) Subject: Cygwin doesn't cope (yet) with gcc flags -std=c89 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6700ad3ceb48882bca8cf71f9866d6ccc076a2fb;p=p5sagit%2Fp5-mst-13.2.git Cygwin doesn't cope (yet) with gcc flags -std=c89 p4raw-id: //depot/perl@28592 --- diff --git a/cflags.SH b/cflags.SH index bc22c2c..bd25466 100755 --- a/cflags.SH +++ b/cflags.SH @@ -98,7 +98,10 @@ Intel*) ;; # Nice try, Intel C++. 12]*) ;; # Go easy on the older versions of gcc. *) case "$cc" in *g++*) ;; - *) stdflags="$stdflags -std=c89" ;; + *) case "$osname" in + cygwin) ;; # Fails at least up to and including 1.5.20 + *) stdflags="$stdflags -std=c89" ;; + esac esac ;; esac