dante: disable sched_getscheduler() - not implemented in musl
authorDavid Yang <mmyangfl@gmail.com>
Sat, 11 Aug 2018 07:51:02 +0000 (15:51 +0800)
committerJo-Philipp Wich <jo@mein.io>
Mon, 24 Sep 2018 17:04:47 +0000 (19:04 +0200)
commitaaf46a8fe23eca959164c1681ab3a37c6e746b05
treef771a27ef90532e74a740fdbc60bb15bcb37fcdd
parent4097ab6a975902b170dd7f7ac6c8025e5f32ef8d
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>
package/network/utils/dante/Makefile