diff options
| author | Jack Nagel | 2013-11-21 16:44:10 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-21 16:44:52 -0600 |
| commit | 95843206688ce99ef3d655699812d363b5b561a7 (patch) | |
| tree | f079fd85fa3edb94282e3c7b57a72914707232d9 /Library | |
| parent | de9b1845e0ed60317067482681f9491bb94cc4cb (diff) | |
| download | brew-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-x | Library/ENV/4.3/cc | 2 |
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/ |
