Don't add extra warning flags for gcc versions < 3.
Rafael Garcia-Suarez [Wed, 5 Jul 2006 12:48:57 +0000 (12:48 +0000)]
p4raw-id: //depot/perl@28483

cflags.SH

index 1e770a7..7a07408 100755 (executable)
--- 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