summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-09-01 16:01:51 +0200
committerMarek Szuba <marecki@gentoo.org>2020-09-01 16:01:51 +0200
commit66c481508b8f80562cbeb6d66a8d2b8966ebc706 (patch)
treef3a77847fda859a7ce8c37f98534e36bfc75ba8d
parentprofiles: Last-rite dev-go/siphash (diff)
downloadgentoo-66c481508b8f80562cbeb6d66a8d2b8966ebc706.tar.gz
gentoo-66c481508b8f80562cbeb6d66a8d2b8966ebc706.tar.bz2
gentoo-66c481508b8f80562cbeb6d66a8d2b8966ebc706.zip
sys-cluster/singularity: honour toolchain values of CC and CXX
Closes: https://bugs.gentoo.org/725748 Signed-off-by: Marek Szuba <marecki@gentoo.org>
-rw-r--r--sys-cluster/singularity/singularity-3.6.1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-cluster/singularity/singularity-3.6.1.ebuild b/sys-cluster/singularity/singularity-3.6.1.ebuild
index 202258ead7a..23232305c17 100644
--- a/sys-cluster/singularity/singularity-3.6.1.ebuild
+++ b/sys-cluster/singularity/singularity-3.6.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit linux-info
+inherit linux-info toolchain-funcs
DESCRIPTION="Application containers for Linux"
HOMEPAGE="https://sylabs.io"
@@ -34,6 +34,10 @@ S=${WORKDIR}/${PN}
src_configure() {
local myconfargs=(
+ -c "$(tc-getBUILD_CC)" \
+ -x "$(tc-getBUILD_CXX)" \
+ -C "$(tc-getCC)" \
+ -X "$(tc-getCXX)" \
--prefix=/usr \
--sysconfdir=/etc \
--runstatedir=/run \