aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
diff options
context:
space:
mode:
authorJack Nagel2014-03-20 23:16:06 -0500
committerJack Nagel2014-03-20 23:16:37 -0500
commitae78d0deb7a16011b87e07dfd2fd4446180846b9 (patch)
treee37f22809d3dfac9ede2dfbd75c0f794c282a306 /Library/ENV
parentd7c188ef6fc3a6ded15c06f15ee4d4a512aaa046 (diff)
downloadhomebrew-ae78d0deb7a16011b87e07dfd2fd4446180846b9.tar.bz2
Filter out -fcheck-new
Diffstat (limited to 'Library/ENV')
-rwxr-xr-xLibrary/ENV/4.3/cc6
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.*/