From: Robin Gareus Date: Tue, 25 Nov 2014 13:06:15 +0000 (+0100) Subject: Revert "Don't add non-clang flag regardless of platform." X-Git-Tag: 4.0-rc1~1278 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=421a1d9912a78e64bcc1c67d42a209c3fbd8bf9b;p=ardour.git Revert "Don't add non-clang flag regardless of platform." Apple's g++ on 10.6. does not understand -Wno-unused-local-typedefs either This reverts commit 9dd8024e41f35e581b3db5f4a873126398db9d45. --- diff --git a/wscript b/wscript index 7e7e65489d..e3d7702ca9 100644 --- a/wscript +++ b/wscript @@ -394,7 +394,7 @@ int main() { return 0; }''', c_flags.extend(('-Wstrict-prototypes', '-Wmissing-prototypes')) cxx_flags.append('-Woverloaded-virtual') - if not is_clang: + if (not is_clang and not platform == "darwin"): cxx_flags.append('-Wno-unused-local-typedefs') if is_clang: cxx_flags.append('-Wno-mismatched-tags')