app-misc/cmd-timer: add -lrt to LDFLAGS (glibc)

timer.c:(.text.startup+0x193): undefined reference to `timer_create'

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier committed 2026-04-01 16:22:57 +02:00
1 parent 7025f31ca8
commit 2277de4c95
2 files changed
+3 -1

No files matched your search

@@ -46,6 +46,7 @@ if [ "${PV}" != "9999" ]; then
fi
src_configure() {
export LDFLAGS="${LDFLAGS} -lrt"
use static && export LDSTATIC=-static
}
+2 -1
View File
@@ -12,7 +12,7 @@ if [ "${PV}" != "9999" ]; then
verify-sig? ( https://distfiles.hacktivis.me/releases/cmd-timer/${P}.tar.gz.sign )
"
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~arm64"
else
inherit git-r3
EGIT_REPO_URI="https://anongit.hacktivis.me/git/cmd-timer.git"
@@ -46,6 +46,7 @@ if [ "${PV}" != "9999" ]; then
fi
src_configure() {
export LDFLAGS="${LDFLAGS} -lrt"
use static && export LDSTATIC=-static
}