dev-util/xcd-rgb: add -lm to LDFLAGS (glibc)

xcd.c:(.text+0x3d): undefined reference to `sin'

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2026-04-01 16:23:58 +02:00
parent 4b0ee6539f
commit 530ad3d446
2 changed files with 2 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ fi
src_configure() {
tc-export CC
export LDFLAGS="${LDFLAGS} -lm"
use static && export LDSTATIC=-static
}

View File

@@ -51,6 +51,7 @@ fi
src_configure() {
tc-export CC
export LDFLAGS="${LDFLAGS} -lm"
use static && export LDSTATIC=-static
}