diff options
| author | Jack Nagel | 2014-03-20 23:16:06 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-20 23:16:37 -0500 |
| commit | ae78d0deb7a16011b87e07dfd2fd4446180846b9 (patch) | |
| tree | e37f22809d3dfac9ede2dfbd75c0f794c282a306 /Library/ENV | |
| parent | d7c188ef6fc3a6ded15c06f15ee4d4a512aaa046 (diff) | |
| download | homebrew-ae78d0deb7a16011b87e07dfd2fd4446180846b9.tar.bz2 | |
Filter out -fcheck-new
Diffstat (limited to 'Library/ENV')
| -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.*/ |
