mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 12:00:48 -09:00
include/jemalloc/internal/jemalloc_internal_inlines_a.h:16:32: error:
implicit declaration of function 'sched_getcpu'; did you mean
'SYS_getcpu'? [-Wimplicit-function-declaration]
16 | return (malloc_cpuid_t)sched_getcpu();
Added -D_GNU_SOURCE to CFLAGS because
extern int sched_getcpu
is wrapped with __USE_GNU:
https://github.com/wbx-github/uclibc-ng/blob/v1.0.57/libc/sysdeps/linux/common/bits/sched.h#L80C1-L80C17
Fixes:
https://autobuild.buildroot.net/results/57c/57c68aad9abcce7621fbff52081da041485e8830/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
(cherry picked from commit 6b15fa64e6)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
850 B
850 B