aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisty De Meo2015-01-14 10:17:24 -0800
committerMisty De Meo2015-01-14 10:18:00 -0800
commit2f997f85fb94a1a8fe0ae91d0a6ef694a6abebd5 (patch)
tree64e6cebeba6b0146b138fd7df21cca694f48c43b
parentd245fa0904d7b0ff668d459a566e5d4e6d3899ab (diff)
downloadhomebrew-2f997f85fb94a1a8fe0ae91d0a6ef694a6abebd5.tar.bz2
cc: filter out -Wno-unused-but-set-variable
Fixes #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',