diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2006-07-17 06:51:54 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2006-07-17 06:51:54 +0000 |
commit | 6700ad3ceb48882bca8cf71f9866d6ccc076a2fb (patch) | |
tree | 0c5c0beb1c7912cab2a79c3d99f2fee7726c7532 /cflags.SH | |
parent | e62a67708095ac0925bf98cb2b81ebd31b1b9918 (diff) | |
download | perl-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-x | cflags.SH | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |