aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-06-15 23:59:41 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-06-16 00:35:15 +0200
commit9bd24562773280b50a1727ef1ec8eda12c218606 (patch)
treed69d56ce97042c18664ebcd3de2c6264921a4aa2 /sys-cluster
parentsys-cluster/parsec: mpi threads required (diff)
downloadguru-9bd24562773280b50a1727ef1ec8eda12c218606.tar.gz
guru-9bd24562773280b50a1727ef1ec8eda12c218606.tar.bz2
guru-9bd24562773280b50a1727ef1ec8eda12c218606.zip
sys-cluster/opari2: export more variables
Closes: https://bugs.gentoo.org/851162 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/opari2/opari2-2.0.6.ebuild15
1 files changed, 14 insertions, 1 deletions
diff --git a/sys-cluster/opari2/opari2-2.0.6.ebuild b/sys-cluster/opari2/opari2-2.0.6.ebuild
index a55ddf1e8..f30d8e7d1 100644
--- a/sys-cluster/opari2/opari2-2.0.6.ebuild
+++ b/sys-cluster/opari2/opari2-2.0.6.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit autotools
+inherit autotools toolchain-funcs
DESCRIPTION="OpenMP Pragma And Region Instrumentor"
HOMEPAGE="https://www.vi-hps.org/projects/score-p"
@@ -17,6 +17,19 @@ RDEPEND=""
DEPEND="${RDEPEND}"
src_prepare() {
+ tc-export CC CXX AR F77 FC CPP
+ export CXXCPP="${CPP}"
+ export CC_FOR_BUILD="${CC}"
+ export CXX_FOR_BUILD="${CXX}"
+ export FC_FOR_BUILD="${FC}"
+ export F77_FOR_BUILD="${F77}"
+ export CFLAGS_FOR_BUILD="${CFLAGS}"
+ export CXXFLAGS_FOR_BUILD="${CXXFLAGS}"
+ export FFLAGS_FOR_BUILD="${FFLAGS}"
+ export FCFLAGS_FOR_BUILD="${FCFLAGS}"
+ export LDFLAGS_FOR_BUILD="${LDFLAGS}"
+ export CPPFLAGS_FOR_BUILD="${CPPFLAGS}"
+
default
eautoreconf
}