1 |
commit: d592068f9dbdfd5963859ca7a6d26002f1b6f9e0 |
2 |
Author: Anna Vyalkova <cyber <AT> sysrq <DOT> in> |
3 |
AuthorDate: Sun May 16 12:12:57 2021 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Sun May 16 14:05:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d592068f |
7 |
|
8 |
app-crypt/reop: properly set CC variable |
9 |
|
10 |
Closes: https://bugs.gentoo.org/784791 |
11 |
Signed-off-by: Anna Vyalkova <cyber <AT> sysrq.in> |
12 |
|
13 |
app-crypt/reop/reop-2.1.1.ebuild | 4 +++- |
14 |
1 file changed, 3 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/app-crypt/reop/reop-2.1.1.ebuild b/app-crypt/reop/reop-2.1.1.ebuild |
17 |
index b0b69c931..a4bb9583b 100644 |
18 |
--- a/app-crypt/reop/reop-2.1.1.ebuild |
19 |
+++ b/app-crypt/reop/reop-2.1.1.ebuild |
20 |
@@ -3,6 +3,8 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
+inherit toolchain-funcs |
25 |
+ |
26 |
DESCRIPTION="reasonable expectation of privacy" |
27 |
HOMEPAGE="https://flak.tedunangst.com/post/reop" |
28 |
SRC_URI="https://flak.tedunangst.com/files/${P}.tgz" |
29 |
@@ -15,7 +17,7 @@ DEPEND="dev-libs/libsodium:=" |
30 |
RDEPEND="${DEPEND}" |
31 |
|
32 |
src_compile() { |
33 |
- emake CC="${CC:-cc}" CFLAGS="${CFLAGS}" LDFLAGS="-lsodium ${LDFLAGS}" |
34 |
+ emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="-lsodium ${LDFLAGS}" |
35 |
} |
36 |
|
37 |
src_test() { |