summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-07-05 12:48:57 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-07-05 12:48:57 +0000
commit9ab92c4288af6d31a3e99bfe76775c698438b981 (patch)
tree139919796353f55de1b2ee8d3486647a47df76af /cflags.SH
parent01f2eac450f9dfc91c650462d75a6bc8d7a0c65b (diff)
downloadperl-9ab92c4288af6d31a3e99bfe76775c698438b981.tar.gz
Don't add extra warning flags for gcc versions < 3.
p4raw-id: //depot/perl@28483
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH1
1 files changed, 1 insertions, 0 deletions
diff --git a/cflags.SH b/cflags.SH
index 1e770a7e42..7a07408cb7 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -70,6 +70,7 @@ esac
# Further gcc warning options.
case "$gccversion" in
'') ;;
+[12]*) ;;
Intel*) ;;
*) for opt in '' extra declaration-after-statement endif-labels
do