13
0

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 9dd8024e41.
This commit is contained in:
Robin Gareus 2014-11-25 14:06:15 +01:00
parent 97981e9007
commit 421a1d9912

View File

@ -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')