From: Yitzchak Scott-Thoennes Date: Mon, 5 Feb 2007 03:32:59 +0000 (-0800) Subject: cygwin: disable effect of -ansi -std=c89 on system include X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=398a0d072d4e417c78d5cd578eaeb2116c9b65a1;p=p5sagit%2Fp5-mst-13.2.git cygwin: disable effect of -ansi -std=c89 on system include From: "Yitzchak Scott-Thoennes" Message-ID: <1344.63.226.247.186.1170675179.squirrel@63.226.247.186> p4raw-id: //depot/perl@30129 --- diff --git a/hints/cygwin.sh b/hints/cygwin.sh index 8fa9ec6..f88e7c5 100644 --- a/hints/cygwin.sh +++ b/hints/cygwin.sh @@ -31,7 +31,7 @@ libswanted=`echo " $libswanted " | sed -e 's/ util / /g'` # (with cygwin 1.5.7, cygipc is deprecated in favor of the builtin cygserver) libswanted="$libswanted gdbm_compat" test -z "$optimize" && optimize='-O2' -ccflags="$ccflags -DPERL_USE_SAFE_PUTENV" +ccflags="$ccflags -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__" # - otherwise i686-cygwin archname='cygwin'