diff options
author | Robin Gareus <robin@gareus.org> | 2014-11-25 14:06:15 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-11-25 14:06:15 +0100 |
commit | 421a1d9912a78e64bcc1c67d42a209c3fbd8bf9b (patch) | |
tree | a89ec0212e6eccf044fc3fd8a2afe3e3cbcbb6e5 /wscript | |
parent | 97981e90077c5d8d0df537a5e78749c6ccfa91f2 (diff) |
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.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') |