From 53d848e364f9531fd6e1da797af03b24ddea531e Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Wed, 14 Jan 2015 10:17:24 -0800 Subject: cc: filter out -Wno-unused-but-set-variable Fixes Homebrew/homebrew#35750. --- Library/ENV/4.3/cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library') 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', -- cgit v1.2.3