diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/meson/meson.build | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/meson/meson.build b/contrib/meson/meson.build index f1ca503..3c39034 100644 --- a/contrib/meson/meson.build +++ b/contrib/meson/meson.build @@ -112,9 +112,8 @@ add_project_arguments(['-DXXH_NAMESPACE=LZ4_'], language: 'c') if [compiler_gcc, compiler_clang].contains(cc_id) common_warning_flags = [] - if buildtype == 'release' - common_warning_flags = ['-Werror'] - endif + # Should use Meson's own --werror build option + #common_warning_flags += ['-Werror'] if c_std == 'c89' or c_std == 'gnu89' common_warning_flags += ['-pedantic', '-Wno-long-long', '-Wno-variadic-macros'] elif c_std == 'c99' or c_std == 'gnu99' |