summaryrefslogtreecommitdiff
path: root/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/hdf5/hdf5-1.10.5-r1.ebuild')
-rw-r--r--sci-libs/hdf5/hdf5-1.10.5-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
index c3fa2f27d0ca..5fb40889ca3c 100644
--- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -75,6 +75,9 @@ src_prepare() {
sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/src/misc/h5cc.in || die
hprefixify m4/libtool.m4
+ # bug #775305
+ use fortran && tc-enables-pie && append-fflags -fPIC
+
default
eautomake
}