diff options
| author | Mike McQuaid | 2015-12-29 11:56:55 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-12-29 14:58:56 +0000 |
| commit | cfd4c3a1815359d394a2c3cb678bb1d10223d549 (patch) | |
| tree | 506c5571f5e7876714cc6fc29101ba7167306bd7 /Library | |
| parent | 2af64920fac8b892cc55cbfe9f6cd064def5a267 (diff) | |
| download | brew-cfd4c3a1815359d394a2c3cb678bb1d10223d549.tar.bz2 | |
superenv/cc: don't filter out `gdwarf-2`.
It's needed by `cgo` which is used by a lot of Go software.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 91707eea9..2ce4bf73d 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", |
