commit:     2772ce712ccef6d9ae6196d5a84615d9c56b7811
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 15 22:01:20 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 15 22:01:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2772ce71

sys-cluster/mpich: add -fcommon for 3.0.4-r1

I can't reproduce this but it builds
with this anyway.

Closes: https://bugs.gentoo.org/818280
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/mpich/mpich-3.0.4-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-cluster/mpich/mpich-3.0.4-r1.ebuild 
b/sys-cluster/mpich/mpich-3.0.4-r1.ebuild
index 08d63fd1943..8d5657d5993 100644
--- a/sys-cluster/mpich/mpich-3.0.4-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.0.4-r1.ebuild
@@ -85,6 +85,9 @@ src_configure() {
        # dropped w/ bug #725842 fix
        #unset CFLAGS CPPFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS
 
+       # Possible workaround for bug #818280
+       append-flags -fcommon
+
        # Forcing Bash as there's quite a few bashisms in the build system
        CONFIG_SHELL="${BROOT}/bin/bash" econf ${c} \
                --with-pm=hydra \

Reply via email to