diff options
author | David Yang <mmyangfl@gmail.com> | 2018-08-11 15:51:02 +0800 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-09-24 19:04:47 +0200 |
commit | aaf46a8fe23eca959164c1681ab3a37c6e746b05 (patch) | |
tree | f771a27ef90532e74a740fdbc60bb15bcb37fcdd /tools/cmake | |
parent | 4097ab6a975902b170dd7f7ac6c8025e5f32ef8d (diff) | |
download | upstream-aaf46a8fe23eca959164c1681ab3a37c6e746b05.tar.gz upstream-aaf46a8fe23eca959164c1681ab3a37c6e746b05.tar.bz2 upstream-aaf46a8fe23eca959164c1681ab3a37c6e746b05.zip |
dante: disable sched_getscheduler() - not implemented in musl
musl doesn't come with an valid implementation of `sched_getscheduler()`;
it simply returns -ENOSYS for it. Without this option (and compile dante
with `sched_getscheduler()` enabled), you will get
error: serverinit(): sched_getscheduler(2): failed to retrieve current
cpuscheduling policy: Function not implemented
and dante won't start at all.
Ref: http://lists.alpinelinux.org/alpine-devel/3932.html
Ref: http://lists.alpinelinux.org/alpine-devel/3936.html
Signed-off-by: David Yang <mmyangfl@gmail.com>
[slightly reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tools/cmake')
0 files changed, 0 insertions, 0 deletions