blob: 49179b4f5c8a427f63397d74f18b2e278fe7fbcc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
WITH_BACKTRACE = false
IMPLEMENT_MMAP = true
BZERO_CHECK_CPPFLAGS != \
if test -n "$(ARGON2_VERSION)"; then\
echo -DDONT_CHECK_MEMORY_ZEROED\
;fi
TEST_CONFIGFILE = config_backtraces=$(WITH_BACKTRACE).mk
include $(TEST_INCLUDE_PREFIX)$(TEST_CONFIGFILE)
# If IMPLEMENT_MMAP is false, it is assumed that libc provides __mmap,
# __munmap, and __mremap as aliases for mmap, mumap, and mremap. If
# this isn't the case for your libc, but it provides other aliases,
# you can add e.g. "-D__mmap=_mmap -D__munmap=_munmap -D__mremap=_mremap"
# to specify the alises libc provides (in this example _mmap, _munmap,
# and _mremap). NB! "-D__mmap=mmap -D__munmap=munmap -D__mremap=mremap"
# is not allowed as libtest overrides mmap(3), munmap(3), and mremap(3).
|