aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build11
1 files changed, 10 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index dd98966..4d36aab 100644
--- a/meson.build
+++ b/meson.build
@@ -4,10 +4,19 @@ project(
version : '0.1',
license: 'GPL-3.0-only',
default_options : [
- 'warning_level=3',
+ 'c_std=c99',
+ 'warning_level=2',
]
)
+add_project_arguments(
+ [
+ '-D_POSIX_C_SOURCE=200809L',
+ '-Wvla',
+ ],
+ language: 'c',
+)
+
gpgme_dep = dependency('gpgme', version: '>= 1.0')
npass_inc = include_directories('include')