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>
Tue, 18 Dec 2018 10:28:14 +0000 (11:28 +0100)
commit9a01ff5c0349c01d2182d9b4f15fe7ba8b156329
treebba089d4bd7c4623505b5febeaf23bb55ba59c64
parent991e43c894d0e6e74a1010ff4f327e25ca69fd9a
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>
(backported from aaf46a8fe23eca959164c1681ab3a37c6e746b05)
package/network/utils/dante/Makefile