summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Henry Pfeil2020-12-06 12:17:29 +0100
committer Matteo Bernardini2021-02-27 10:37:54 +0100
commitfb7352f553fd6c1fa389d3c6681d7924843130d3 (patch)
treef272e487f239a5adea878535ba1edd6067f32db5
parent9aa1498acb0841d4ce656319a4de5cc157b4e2ed (diff)
downloadslackbuilds-mpich.tar.gz
system/mpich: Fix building with gfortran >= 10.x.mpich
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/mpich/mpich.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/mpich/mpich.SlackBuild b/system/mpich/mpich.SlackBuild
index 3245ac845a..cb62c4be9f 100644
--- a/system/mpich/mpich.SlackBuild
+++ b/system/mpich/mpich.SlackBuild
@@ -71,6 +71,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Workaround for gfortran-10.x: https://github.com/pmodels/mpich/issues/4300
+FC="gfortran" \
+FFLAGS="-fallow-argument-mismatch" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \