Skip to content
Snippets Groups Projects
Commit 95843206 authored by Jack Nagel's avatar Jack Nagel
Browse files

Allow -Wno- flags to pass through

These inhibit warnings-as-errors, so allow them to pass through.
parent de9b1845
No related branches found
No related tags found
No related merge requests found
......@@ -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/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment