]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
meson: fix C args
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 14 Feb 2019 09:26:22 +0000 (10:26 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 09:43:29 +0000 (10:43 +0100)
meson.build

index 7cabfebfc3d01b2338abbf8bb7e437fd408cc658..0bd51b8bd1a45645b70e81cbb28690ffccac907e 100644 (file)
@@ -89,14 +89,15 @@ endif
 message('---------------------------')
 
 ## Compiler args
-add_project_arguments([
+add_project_arguments(
   '-D_GNU_SOURCE',
   '-Wformat-security',
   '-Wtype-limits',
   '-Wshadow',
   '-Wall',
   '-fvisibility=hidden',
-])
+  language: 'c',
+)
 
 # Lists of tests
 # These lists are added to from subdir() and finally used in tests/*