2014-12-19 13:37:29 +00:00
|
|
|
ifeq ($(subdir),math)
|
|
|
|
# Since x32 returns 32-bit long int and 64-bit long long int in the
|
|
|
|
# same 64-bit register, we make the 32b-bit lround an alias of the
|
2014-12-19 16:32:05 +00:00
|
|
|
# 64-bit llround. Add -fno-builtin-lround to silence the compiler.
|
|
|
|
CFLAGS-s_llround.c += -fno-builtin-lround
|
2014-12-19 13:37:29 +00:00
|
|
|
endif
|
2019-01-21 19:23:59 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),string)
|
2019-01-21 19:29:58 +00:00
|
|
|
tests += tst-size_t-memchr tst-size_t-memcmp tst-size_t-memcpy \
|
2019-01-21 19:32:24 +00:00
|
|
|
tst-size_t-memrchr tst-size_t-memset
|
2019-01-21 19:23:59 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(subdir),wcsmbs)
|
2019-01-21 19:32:24 +00:00
|
|
|
tests += tst-size_t-wmemchr tst-size_t-wmemcmp tst-size_t-wmemset
|
2019-01-21 19:23:59 +00:00
|
|
|
endif
|