diff options
author | Henry Pfeil <hpfeil@psnarf.org> | 2020-12-06 12:17:29 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:43:44 -0500 |
commit | 06699df5731aee9635da8e160cda1d83bc3fb025 (patch) | |
tree | b908d8d5724529346fe0afe5b12d7928b5e45f73 /system/mpich | |
parent | e342108a6cdcb5fbece844df1f9c4dd5042e4002 (diff) |
system/mpich: Fix building with gfortran >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/mpich')
-rw-r--r-- | system/mpich/mpich.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/mpich/mpich.SlackBuild b/system/mpich/mpich.SlackBuild index 3245ac845a6d4..cb62c4be9f06f 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 \ |