aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index c1adc5699..659599544 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -151,7 +151,7 @@ class Cmd
args << arg unless tool =~ /^clang/
when "-Wno-deprecated-register"
# older gccs don't support these flags
- args << arg unless tool =~ /^gcc-4.[02]/
+ args << arg unless tool =~ /^g..-4.[02]/
when /^-W[alp],/, /^-Wno-/
args << arg
when /^-W.*/