sys-process/iotop-c: fix compilation with llvm[-gold]

The makefile adds LTO by default, resulting in failed compilation
when using llvm without gold.
By Adding `NO_FLTO=1` we disable LTO and it compiles.

Closes: https://bugs.gentoo.org/785538
Signed-off-by: Zamarin Arthur <arthurzam@gmail.com>
This commit is contained in:
Zamarin Arthur
2021-05-03 17:47:14 +03:00
parent cb9a060d16
commit a89e7f4a5d

View File

@@ -27,7 +27,7 @@ FILECAPS=(
)
src_compile() {
emake V=1 CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
emake V=1 CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" NO_FLTO=1
}
src_install() {