diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 91707eea97..2ce4bf73d5 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -135,7 +135,7 @@ class Cmd args = [] case arg - when /^-g\d?/, /^-gstabs\d+/, "-gstabs+", /^-ggdb\d?/, "-gdwarf-2", + when /^-g\d?$/, /^-gstabs\d+/, "-gstabs+", /^-ggdb\d?/, /^-march=.+/, /^-mtune=.+/, /^-mcpu=.+/, /^-O[0-9zs]?$/, "-fast", "-no-cpp-precomp", "-pedantic", "-pedantic-errors", "-Wno-long-double",