From: Lzu Tao Date: Sun, 2 Dec 2018 17:36:40 +0000 (+0700) Subject: Use -Dlegacy_level build option to control ZSTD_LEGACY_SUPPORT macro in test X-Git-Tag: v1.3.8~36^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65507666bb468c4708359b8dfa7146e7113d624a;p=thirdparty%2Fzstd.git Use -Dlegacy_level build option to control ZSTD_LEGACY_SUPPORT macro in test --- diff --git a/build/meson/tests/meson.build b/build/meson/tests/meson.build index c8772e761..e35575d00 100644 --- a/build/meson/tests/meson.build +++ b/build/meson/tests/meson.build @@ -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)