This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
cygwin: disable effect of -ansi -std=c89 on system include
authorYitzchak Scott-Thoennes <sthoenna@efn.org>
Mon, 5 Feb 2007 03:32:59 +0000 (19:32 -0800)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 5 Feb 2007 15:35:56 +0000 (15:35 +0000)
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

hints/cygwin.sh

index 8fa9ec6..f88e7c5 100644 (file)
@@ -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'