summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Henry Pfeil2020-12-06 12:17:29 +0100
committer Robby Workman2021-04-18 06:43:44 +0200
commit06699df5731aee9635da8e160cda1d83bc3fb025 (patch)
treeb908d8d5724529346fe0afe5b12d7928b5e45f73 /system
parente342108a6cdcb5fbece844df1f9c4dd5042e4002 (diff)
downloadslackbuilds-06699df5731aee9635da8e160cda1d83bc3fb025.tar.gz
system/mpich: Fix building with gfortran >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system')
-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 \