1 |
commit: 66c481508b8f80562cbeb6d66a8d2b8966ebc706 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 1 14:01:51 2020 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 1 14:01:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66c48150 |
7 |
|
8 |
sys-cluster/singularity: honour toolchain values of CC and CXX |
9 |
|
10 |
Closes: https://bugs.gentoo.org/725748 |
11 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
12 |
|
13 |
sys-cluster/singularity/singularity-3.6.1.ebuild | 6 +++++- |
14 |
1 file changed, 5 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/sys-cluster/singularity/singularity-3.6.1.ebuild b/sys-cluster/singularity/singularity-3.6.1.ebuild |
17 |
index 202258ead7a..23232305c17 100644 |
18 |
--- a/sys-cluster/singularity/singularity-3.6.1.ebuild |
19 |
+++ b/sys-cluster/singularity/singularity-3.6.1.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-inherit linux-info |
25 |
+inherit linux-info toolchain-funcs |
26 |
|
27 |
DESCRIPTION="Application containers for Linux" |
28 |
HOMEPAGE="https://sylabs.io" |
29 |
@@ -34,6 +34,10 @@ S=${WORKDIR}/${PN} |
30 |
|
31 |
src_configure() { |
32 |
local myconfargs=( |
33 |
+ -c "$(tc-getBUILD_CC)" \ |
34 |
+ -x "$(tc-getBUILD_CXX)" \ |
35 |
+ -C "$(tc-getCC)" \ |
36 |
+ -X "$(tc-getCXX)" \ |
37 |
--prefix=/usr \ |
38 |
--sysconfdir=/etc \ |
39 |
--runstatedir=/run \ |