aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisty De Meo2015-01-14 10:17:24 -0800
committerMisty De Meo2015-01-14 10:18:00 -0800
commit53d848e364f9531fd6e1da797af03b24ddea531e (patch)
tree8e1b420b1b199ccf94f0ac890c708be3b16cea49
parent001c238606b681231f1f229cc9e05ea4fd574a57 (diff)
downloadbrew-53d848e364f9531fd6e1da797af03b24ddea531e.tar.bz2
cc: filter out -Wno-unused-but-set-variable
Fixes Homebrew/homebrew#35750.
-rwxr-xr-xLibrary/ENV/4.3/cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 1500458de..728559330 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -155,7 +155,8 @@ class Cmd
when /^-g\d?/, /^-gstabs\d+/, '-gstabs+', /^-ggdb\d?/, '-gdwarf-2',
/^-march=.+/, /^-mtune=.+/, /^-mcpu=.+/,
/^-O[0-9zs]?$/, '-fast', '-no-cpp-precomp',
- '-pedantic', '-pedantic-errors', '-Wno-long-double'
+ '-pedantic', '-pedantic-errors', '-Wno-long-double',
+ '-Wno-unused-but-set-variable'
when '-fopenmp', '-lgomp', '-mno-fused-madd', '-fforce-addr', '-fno-defer-pop',
'-mno-dynamic-no-pic', '-fearly-inlining', /^-f(?:no-)?inline-functions-called-once/,
/^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks',