diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meson.build b/meson.build index 65366eee..e05db1cd 100644 --- a/meson.build +++ b/meson.build | |||
@@ -207,8 +207,8 @@ foreach a : ['-Wall', '-Wextra', '-Wsign-compare', | |||
207 | '-Werror-implicit-function-declaration', '-Wpointer-arith', | 207 | '-Werror-implicit-function-declaration', '-Wpointer-arith', |
208 | '-Wwrite-strings', '-Wstrict-prototypes', '-Wmissing-prototypes', | 208 | '-Wwrite-strings', '-Wstrict-prototypes', '-Wmissing-prototypes', |
209 | '-Wmissing-declarations', '-Wnested-externs', '-Wpacked', | 209 | '-Wmissing-declarations', '-Wnested-externs', '-Wpacked', |
210 | '-Wswitch-enum', '-Wmissing-format-attribute', | 210 | '-Wswitch-enum', '-Wmissing-format-attribute', |
211 | '-Wstrict-aliasing=2', '-Winit-self', '-Winline', '-Wshadow', | 211 | '-Wstrict-aliasing=2', '-Winit-self', '-Winline', '-Wshadow', |
212 | '-Wdeclaration-after-statement', '-Wold-style-definition'] | 212 | '-Wdeclaration-after-statement', '-Wold-style-definition'] |
213 | if cc.has_argument(a) | 213 | if cc.has_argument(a) |
214 | warn_c_args += a | 214 | warn_c_args += a |
@@ -216,7 +216,7 @@ foreach a : ['-Wall', '-Wextra', '-Wsign-compare', | |||
216 | endforeach | 216 | endforeach |
217 | # GCC will never error for -Wno-*, so check for -W* then add -Wno-* to the list | 217 | # GCC will never error for -Wno-*, so check for -W* then add -Wno-* to the list |
218 | # of options | 218 | # of options |
219 | foreach a : ['unused-parameter', 'attributes', 'long-long', | 219 | foreach a : ['unused-parameter', 'attributes', 'long-long', |
220 | 'missing-field-initializers'] | 220 | 'missing-field-initializers'] |
221 | if cc.has_argument('-W@0@'.format(a)) | 221 | if cc.has_argument('-W@0@'.format(a)) |
222 | warn_c_args += '-Wno-@0@'.format(a) | 222 | warn_c_args += '-Wno-@0@'.format(a) |
@@ -320,7 +320,7 @@ pkg.generate( | |||
320 | version : meson.project_version(), | 320 | version : meson.project_version(), |
321 | description : 'Userspace interface to kernel DRM services', | 321 | description : 'Userspace interface to kernel DRM services', |
322 | ) | 322 | ) |
323 | 323 | ||
324 | if with_libkms | 324 | if with_libkms |
325 | subdir('libkms') | 325 | subdir('libkms') |
326 | endif | 326 | endif |