mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
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:
@@ -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}\"'"
|
||||
}
|
||||
Reference in New Issue
Block a user