aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-11-21 16:44:10 -0600
committerJack Nagel2013-11-21 16:44:52 -0600
commit95843206688ce99ef3d655699812d363b5b561a7 (patch)
treef079fd85fa3edb94282e3c7b57a72914707232d9 /Library
parentde9b1845e0ed60317067482681f9491bb94cc4cb (diff)
downloadbrew-95843206688ce99ef3d655699812d363b5b561a7.tar.bz2
Allow -Wno- flags to pass through
These inhibit warnings-as-errors, so allow them to pass through.
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 cfe8490aa..d13e387c6 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -132,7 +132,7 @@ class Cmd
# clang doesn't support OpenMP
args << arg if not tool =~ /^clang/
when /^-W.*/
- args << arg if arg =~ /^-W[alp],/
+ args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
when '-macosx_version_min', '-dylib_install_name'
args << "-Wl,#{arg},#{whittler.next}"
when /^-isysroot/