summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2006-07-17 06:51:54 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-07-17 06:51:54 +0000
commit6700ad3ceb48882bca8cf71f9866d6ccc076a2fb (patch)
tree0c5c0beb1c7912cab2a79c3d99f2fee7726c7532 /cflags.SH
parente62a67708095ac0925bf98cb2b81ebd31b1b9918 (diff)
downloadperl-6700ad3ceb48882bca8cf71f9866d6ccc076a2fb.tar.gz
Cygwin doesn't cope (yet) with gcc flags -std=c89
p4raw-id: //depot/perl@28592
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH5
1 files changed, 4 insertions, 1 deletions
diff --git a/cflags.SH b/cflags.SH
index bc22c2c557..bd254666ad 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