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
commit98aa2392d37a89f4c41fdb8f608b97f06b5d1c8d (patch)
treeea674d3098b96c0b5f26c35a8745572693850f01 /Library
parent9851081382697fea5d8959ab2b03c19d33556daa (diff)
downloadhomebrew-98aa2392d37a89f4c41fdb8f608b97f06b5d1c8d.tar.bz2
Filter -fno-delete-null-pointer-checks for clang
Fixes #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.*/