superenv/cc: don't filter out gdwarf-2.

It's needed by `cgo` which is used by a lot of Go software.
This commit is contained in:
Mike McQuaid 2015-12-29 11:56:55 +00:00
parent 2af64920fa
commit cfd4c3a181

View File

@ -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",