gui-apps/lswt: use CHOST CC

Bug: https://bugs.gentoo.org/243502
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2024-05-12 18:51:43 +02:00
parent ae0304496f
commit 3bb00484a9
2 changed files with 12 additions and 0 deletions

View File

@@ -3,6 +3,8 @@
EAPI=8
inherit toolchain-funcs
DESCRIPTION="List Wayland toplevels"
HOMEPAGE="https://git.sr.ht/~leon_plickat/lswt/"
@@ -22,6 +24,10 @@ DEPEND="dev-libs/wayland"
RDEPEND="${DEPEND}"
BDEPEND="dev-util/wayland-scanner"
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
# Need to install to /usr instead of /usr/local
# and the Makefile doens't handle DESTDIR properly

View File

@@ -3,6 +3,8 @@
EAPI=8
inherit toolchain-funcs
DESCRIPTION="List Wayland toplevels"
HOMEPAGE="https://git.sr.ht/~leon_plickat/lswt/"
@@ -22,6 +24,10 @@ DEPEND="dev-libs/wayland"
RDEPEND="${DEPEND}"
BDEPEND="dev-util/wayland-scanner"
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
# Need to install to /usr instead of /usr/local
# and the Makefile doens't handle DESTDIR properly