summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-07-10 15:13:11 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-07-12 01:54:03 -0400
commit4cad81c417c691ae01b19e3ce5e04eec208e7705 (patch)
treeda4254b630eaec80708a12f92475e095e45cd086 /sys-cluster
parentsys-cluster/openmpi: mark as LTO-unsafe, strict-aliasing unsafe (diff)
downloadgentoo-4cad81c417c691ae01b19e3ce5e04eec208e7705.tar.gz
gentoo-4cad81c417c691ae01b19e3ce5e04eec208e7705.tar.bz2
gentoo-4cad81c417c691ae01b19e3ce5e04eec208e7705.zip
sys-cluster/openmpi: make sure elibtoolize is applied
Needed to e.g. pass LTO warning flags through to the linker. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/openmpi/openmpi-4.1.6.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-cluster/openmpi/openmpi-4.1.6.ebuild b/sys-cluster/openmpi/openmpi-4.1.6.ebuild
index 6f5d3e99a47f..524f03b078b6 100644
--- a/sys-cluster/openmpi/openmpi-4.1.6.ebuild
+++ b/sys-cluster/openmpi/openmpi-4.1.6.ebuild
@@ -4,7 +4,7 @@
EAPI=8
FORTRAN_NEEDED=fortran
-inherit cuda flag-o-matic fortran-2 multilib-minimal
+inherit cuda flag-o-matic fortran-2 libtool multilib-minimal
MY_P=${P/-mpi}
@@ -80,6 +80,7 @@ pkg_setup() {
src_prepare() {
default
+ elibtoolize
# Avoid test which ends up looking at system mounts
echo "int main() { return 0; }" > test/util/opal_path_nfs.c || die