aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-24 20:02:56 -0500
committerJack Nagel2014-03-24 20:05:33 -0500
commit43652923741d640fa0a080e81094a0f9540be641 (patch)
treeeeec73bb2878d1dbe39ebf6d0060c4642c75b83f /Library
parenta72061c59a6323f6ea2520a5f194a0e02ae59752 (diff)
downloadbrew-43652923741d640fa0a080e81094a0f9540be641.tar.bz2
Filter -fno-delete-null-pointer-checks for clang
Fixes Homebrew/homebrew#27836.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 1f8b171a4..b4cc177b4 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.*/