]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add pedantic flag
authorLzu Tao <taolzu@gmail.com>
Thu, 29 Nov 2018 03:54:29 +0000 (10:54 +0700)
committerLzu Tao <taolzu@gmail.com>
Sat, 1 Dec 2018 16:18:59 +0000 (23:18 +0700)
contrib/meson/contrib/pzstd/meson.build

index 9239901455ed6b4517d799fb71a9f33ae0336e92..3531ace7d5dc3e350dc46bfefda411b659ddefec 100644 (file)
@@ -25,7 +25,7 @@ pzstd_sources = [join_paths(programs_dir, 'util.c'),
 
 pzstd = executable('pzstd',
     pzstd_sources,
-    cpp_args: [ '-DNDEBUG', '-Wno-shadow' ],
+    cpp_args: [ '-DNDEBUG', '-Wno-shadow', '-pedantic' ],
     include_directories: pzstd_includes,
     link_with: libzstd,
     dependencies: [ thread_dep ],