From 43652923741d640fa0a080e81094a0f9540be641 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 24 Mar 2014 20:02:56 -0500 Subject: [PATCH] Filter -fno-delete-null-pointer-checks for clang Fixes Homebrew/homebrew#27836. --- Library/ENV/4.3/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 1f8b171a4e..b4cc177b4d 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -121,7 +121,7 @@ class Cmd '-pedantic', '-pedantic-errors' 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/ + /^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks' # clang doesn't support these flags args << arg if not tool =~ /^clang/ when /^-W.*/