aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-12-29 11:56:55 +0000
committerMike McQuaid2015-12-29 14:58:56 +0000
commitcfd4c3a1815359d394a2c3cb678bb1d10223d549 (patch)
tree506c5571f5e7876714cc6fc29101ba7167306bd7 /Library
parent2af64920fac8b892cc55cbfe9f6cd064def5a267 (diff)
downloadbrew-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-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 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",