aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3245ac845a6d..cb62c4be9f06 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 \