Define BIT_DEBUG for --debug
This commit is contained in:
parent
2a9975f77b
commit
ac852abb8b
@ -248,7 +248,7 @@ def build_parser(args):
|
|||||||
dest='debug',
|
dest='debug',
|
||||||
type=int,
|
type=int,
|
||||||
default=1,
|
default=1,
|
||||||
help='Set ZSTD_DEBUG (default: 1)')
|
help='Set ZSTD_DEBUG and BIT_DEBUG (default: 1)')
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--force-memory-access',
|
'--force-memory-access',
|
||||||
dest='memory_access',
|
dest='memory_access',
|
||||||
@ -356,6 +356,7 @@ def build(args):
|
|||||||
|
|
||||||
cppflags += [
|
cppflags += [
|
||||||
'-DZSTD_DEBUG={}'.format(args.debug),
|
'-DZSTD_DEBUG={}'.format(args.debug),
|
||||||
|
'-DBIT_DEBUG={}'.format(args.debug),
|
||||||
'-DMEM_FORCE_MEMORY_ACCESS={}'.format(args.memory_access),
|
'-DMEM_FORCE_MEMORY_ACCESS={}'.format(args.memory_access),
|
||||||
'-DFUZZ_RNG_SEED_SIZE={}'.format(args.fuzz_rng_seed_size),
|
'-DFUZZ_RNG_SEED_SIZE={}'.format(args.fuzz_rng_seed_size),
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user