mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
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:
@@ -46,6 +46,7 @@ if [ "${PV}" != "9999" ]; then
|
||||
fi
|
||||
|
||||
src_configure() {
|
||||
export LDFLAGS="${LDFLAGS} -lrt"
|
||||
use static && export LDSTATIC=-static
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user