]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Use -Dlegacy_level build option to control ZSTD_LEGACY_SUPPORT macro in test
authorLzu Tao <taolzu@gmail.com>
Sun, 2 Dec 2018 17:36:40 +0000 (00:36 +0700)
committerLzu Tao <taolzu@gmail.com>
Sun, 2 Dec 2018 17:36:40 +0000 (00:36 +0700)
build/meson/tests/meson.build

index c8772e7617c0e20d1c3ba93e26819ae0888b242b..e35575d0048f3e26b46d32358a40e897a8706117 100644 (file)
@@ -110,7 +110,8 @@ invalidDictionaries = executable('invalidDictionaries',
 legacy_sources = [join_paths(zstd_rootdir, 'tests/legacy.c')]
 legacy = executable('legacy',
   legacy_sources,
-  c_args: '-DZSTD_LEGACY_SUPPORT=4',
+  # Use -Dlegacy_level build option to control it
+  #c_args: '-DZSTD_LEGACY_SUPPORT=4',
   dependencies: [ libzstd_dep ],
   install: false)