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:
parent
2af64920fa
commit
cfd4c3a181
@ -135,7 +135,7 @@ class Cmd
|
|||||||
args = []
|
args = []
|
||||||
|
|
||||||
case arg
|
case arg
|
||||||
when /^-g\d?/, /^-gstabs\d+/, "-gstabs+", /^-ggdb\d?/, "-gdwarf-2",
|
when /^-g\d?$/, /^-gstabs\d+/, "-gstabs+", /^-ggdb\d?/,
|
||||||
/^-march=.+/, /^-mtune=.+/, /^-mcpu=.+/,
|
/^-march=.+/, /^-mtune=.+/, /^-mcpu=.+/,
|
||||||
/^-O[0-9zs]?$/, "-fast", "-no-cpp-precomp",
|
/^-O[0-9zs]?$/, "-fast", "-no-cpp-precomp",
|
||||||
"-pedantic", "-pedantic-errors", "-Wno-long-double",
|
"-pedantic", "-pedantic-errors", "-Wno-long-double",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user