diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meson.build b/meson.build index 0d3b2f9..780e820 100644 --- a/meson.build +++ b/meson.build @@ -25,13 +25,11 @@ valac = meson.get_compiler('vala') common_flags = [] if get_option('buildtype').contains('debug') - test_cflags = [ + common_flags += cc.get_supported_arguments([ '-fno-common', '-Wmissing-prototypes', '-Wwrite-strings' - ] - - common_flags += cc.get_supported_arguments(test_cflags) + ]) endif add_project_arguments(common_flags, language: 'c') |