From 421a1d9912a78e64bcc1c67d42a209c3fbd8bf9b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 25 Nov 2014 14:06:15 +0100 Subject: [PATCH] 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. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.30.2