projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97981e9
)
Revert "Don't add non-clang flag regardless of platform."
author
Robin Gareus
<robin@gareus.org>
Tue, 25 Nov 2014 13:06:15 +0000
(14:06 +0100)
committer
Robin Gareus
<robin@gareus.org>
Tue, 25 Nov 2014 13:06:15 +0000
(14:06 +0100)
Apple's g++ on 10.6. does not understand -Wno-unused-local-typedefs
either
This reverts commit
9dd8024e41f35e581b3db5f4a873126398db9d45
.
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index 7e7e65489d9a09b6a2305d99134e4e099e025710..e3d7702ca9fb7c26cda1d0fd687775c40e5e6c9f 100644
(file)
--- 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')