From 59b444949a81c8322343e85a7877171dda328020 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 20 Mar 2014 23:16:06 -0500 Subject: [PATCH] Filter out -fcheck-new --- Library/ENV/4.3/cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index e2f0490e5c..92fb172771 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.*/