sys-process/forkstat: respect CC and CFLAGS

Closes: https://bugs.gentoo.org/930408
Signed-off-by: Carlos Eduardo <carana2099@gmail.com>
This commit is contained in:
Carlos Eduardo
2024-04-22 12:00:28 -03:00
parent 408ac587c4
commit 641ae5da56

View File

@@ -2,6 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Logs process fork(), exec() and exit() activity"
HOMEPAGE="https://github.com/ColinIanKing/forkstat"
SRC_URI="https://github.com/ColinIanKing/forkstat/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz"
@@ -14,3 +17,7 @@ src_prepare() {
default
sed -i 's/8.gz/8/g' Makefile
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="$CFLAGS -DVERSION='\"${PV}\"'"
}