summaryrefslogtreecommitdiffstats
path: root/system/mpich/mpich.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/mpich/mpich.SlackBuild')
-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 24f9e08683..3d1ed276e6 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 \