diff options
| author | Jack Nagel | 2014-03-20 23:16:06 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-20 23:16:37 -0500 |
| commit | 59b444949a81c8322343e85a7877171dda328020 (patch) | |
| tree | ee3857a082224ae93aa0397fe5db9f7c4e8a888a /Library | |
| parent | 04f887dc1834d22505c7b4be6637665269b6f90d (diff) | |
| download | brew-59b444949a81c8322343e85a7877171dda328020.tar.bz2 | |
Filter out -fcheck-new
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index e2f0490e5..92fb17277 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -119,9 +119,9 @@ class Cmd /^-march=.+/, /^-mtune=.+/, /^-mcpu=.+/, '-m64', /^-O[0-9zs]?$/, '-fast', '-no-cpp-precomp', '-pedantic', '-pedantic-errors' - when '-fopenmp', '-lgomp', '-mno-fused-madd', '-fforce-addr', - '-fno-defer-pop', '-fno-check-new', '-mno-dynamic-no-pic', - '-fearly-inlining', '-finline-functions-called-once', /^-finline-limit/ + when '-fopenmp', '-lgomp', '-mno-fused-madd', '-fforce-addr', '-fno-defer-pop', + '-mno-dynamic-no-pic', '-fearly-inlining', '-finline-functions-called-once', + /^-finline-limit/, /^-f(?:no-)?check-new/ # clang doesn't support these flags args << arg if not tool =~ /^clang/ when /^-W.*/ |
