1 |
commit: a89e7f4a5d8af8c009cac6b47b29d6a1edfea0a2 |
2 |
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon May 3 14:47:14 2021 +0000 |
4 |
Commit: Zamarin Arthur <arthurzam+gentoo <AT> gmail <DOT> com> |
5 |
CommitDate: Mon May 3 14:47:14 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a89e7f4a |
7 |
|
8 |
sys-process/iotop-c: fix compilation with llvm[-gold] |
9 |
|
10 |
The makefile adds LTO by default, resulting in failed compilation |
11 |
when using llvm without gold. |
12 |
By Adding `NO_FLTO=1` we disable LTO and it compiles. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/785538 |
15 |
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com> |
16 |
|
17 |
sys-process/iotop-c/iotop-c-1.17-r1.ebuild | 2 +- |
18 |
1 file changed, 1 insertion(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/sys-process/iotop-c/iotop-c-1.17-r1.ebuild b/sys-process/iotop-c/iotop-c-1.17-r1.ebuild |
21 |
index d778526f6..bc7986f85 100644 |
22 |
--- a/sys-process/iotop-c/iotop-c-1.17-r1.ebuild |
23 |
+++ b/sys-process/iotop-c/iotop-c-1.17-r1.ebuild |
24 |
@@ -27,7 +27,7 @@ FILECAPS=( |
25 |
) |
26 |
|
27 |
src_compile() { |
28 |
- emake V=1 CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" |
29 |
+ emake V=1 CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" NO_FLTO=1 |
30 |
} |
31 |
|
32 |
src_install() { |