summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorYitzchak Scott-Thoennes <sthoenna@efn.org>2007-02-04 19:32:59 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-02-05 15:35:56 +0000
commit398a0d072d4e417c78d5cd578eaeb2116c9b65a1 (patch)
treee2deefd2c4e736c40c4019ebec4cbcdf4b029fe1 /hints
parentf1aa208bc0c532fa882692b00984ea80fa318d82 (diff)
downloadperl-398a0d072d4e417c78d5cd578eaeb2116c9b65a1.tar.gz
cygwin: disable effect of -ansi -std=c89 on system include
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org> Message-ID: <1344.63.226.247.186.1170675179.squirrel@63.226.247.186> p4raw-id: //depot/perl@30129
Diffstat (limited to 'hints')
-rw-r--r--hints/cygwin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/cygwin.sh b/hints/cygwin.sh
index 8fa9ec61b4..f88e7c5fea 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'