forked from drath/libratbag
meson.build: enable -Werror=format-security
We don't want to accidentally ignore those. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Filipe Laíns
parent
247ff7695d
commit
43def1b3a5
@@ -31,6 +31,7 @@ cc = meson.get_compiler('c')
|
||||
cflags = ['-Wno-unused-parameter',
|
||||
'-fvisibility=hidden',
|
||||
'-Wmissing-prototypes',
|
||||
'-Werror=format-security',
|
||||
'-Wstrict-prototypes']
|
||||
add_project_arguments(cflags, language: 'c')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user