diff options
| author | Jack Nagel | 2013-11-21 16:44:10 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-21 16:44:52 -0600 |
| commit | 88ac11b6c7e0c380ee63c8d1a13cb783c97e961d (patch) | |
| tree | 4fab047333f88267e70660920c5708d7dc143efe /Library | |
| parent | f00990e6081e0ef51329bd8770fcffb27cc88bb2 (diff) | |
| download | homebrew-88ac11b6c7e0c380ee63c8d1a13cb783c97e961d.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/ |
