commit | 0a9b12eda0f6e487398dad004121bdd1be792428 | [log] [tgz] |
---|---|---|
author | Khem Raj <raj.khem@gmail.com> | Sat Nov 14 16:18:44 2020 -0800 |
committer | Khem Raj <raj.khem@gmail.com> | Sat Nov 14 16:18:44 2020 -0800 |
tree | 27fa37a45972b5275fc063187a68abe4366027b8 | |
parent | ba0a2e44b87525ad5d8fd5b04bee7a18fc39415c [diff] |
test: Fix build on 32bit architectures with 6bit time_t It uses SYS_futex, which it expects from system C library. in glibc (/usr/include/bits/syscall.h defines it in terms of of NR_futex) rv32 is using 64bit time_t from get go unlike other 32bit architectures in glibc, therefore it wont have NR_futex defined but just NR_futex_time64 this aliases it to NR_futex so that SYS_futex is then defined for rv32 Signed-off-by: Khem Raj <raj.khem@gmail.com>