summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
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