Commit a627d0ec authored by Moritz Lipp's avatar Moritz Lipp

Check for clang

parent 36fdd35c
......@@ -59,8 +59,12 @@ flags = [
'-Wmissing-declarations',
'-Werror=implicit-function-declaration',
'-Werror=vla',
'-Wno-unused-command-line-argument'
]
if cc.get_id() == 'clang'
flags += '-Wno-unused-command-line-argument'
endif
flags = cc.get_supported_arguments(flags)
# optional dependencies
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment