From 95843206688ce99ef3d655699812d363b5b561a7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 21 Nov 2013 16:44:10 -0600 Subject: Allow -Wno- flags to pass through These inhibit warnings-as-errors, so allow them to pass through. --- Library/ENV/4.3/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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/ -- cgit v1.2.3