summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 0548e2e..737f9f0 100644
--- a/meson.build
+++ b/meson.build
@@ -399,6 +399,7 @@ possible_common_cc_flags = [
'-Wstrict-aliasing=2',
'-Wstrict-prototypes',
'-Wsuggest-attribute=noreturn',
+ '-Wunterminated-string-initialization',
'-Wunused-function',
'-Wwrite-strings',
'-Wzero-length-bounds',
@@ -411,7 +412,7 @@ possible_common_cc_flags = [
'-fno-common',
'-fstack-protector',
'-fstack-protector-strong',
- '-fstrict-flex-arrays',
+ '-fstrict-flex-arrays=3',
'--param=ssp-buffer-size=4',
]