summaryrefslogtreecommitdiffstats
path: root/scripts/multilib_header_wrapper.h
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2021-04-07 16:08:24 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-18 11:37:25 +0100
commit8cf34c351772245f4f86c8b00cff3340ffef8e4e (patch)
treeda4ab9abaff92ba887e3bfd91ca2d297e171d77a /scripts/multilib_header_wrapper.h
parent91aa85099815eead5a6ac5f89ce1f97188aa5f28 (diff)
downloadpoky-8cf34c351772245f4f86c8b00cff3340ffef8e4e.tar.gz
libxshmfence: Build fixes for riscv32
NR_futex is not defined by newer architectures e.g. riscv32 as they only have 64bit variant of time_t. Glibc defines SYS_futex interface based on __NR_futex, since this is used in applications, such applications start to fail to build for these newer architectures. Define a fallback to alias __NR_futex to __NR_futex_time64 to make SYS_futex keep working. Reference: https://git.openembedded.org/openembedded-core/commit/?id=7a218adf9990f5e18d0b6a33eb34091969f979c7 (From OE-Core rev: 81599bf32135187b34726d41e9f619d22ca1bdd1) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/multilib_header_wrapper.h')
0 files changed, 0 insertions, 0 deletions