summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-12 11:16:52 +0200
committerErich Eckner <git@eckner.net>2020-06-12 11:16:52 +0200
commited037c4214d93d68a520c99d8e13f438037c6c01 (patch)
tree41a0aee1cba1510302d0353982c61284af314eca
parentbf0506c66c72789740c345db05a712ff535f4743 (diff)
downloadarchlinuxewe.git.save-ed037c4214d93d68a520c99d8e13f438037c6c01.tar.xz
mpich2: fix compilation with gcc10
-rw-r--r--mpich2/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/mpich2/PKGBUILD b/mpich2/PKGBUILD
index b226be58..d3015740 100644
--- a/mpich2/PKGBUILD
+++ b/mpich2/PKGBUILD
@@ -51,7 +51,10 @@ build() {
--enable-timer-type=clock_gettime \
--with-pm=hydra:gforker:mpd --with-python=python2 \
--disable-rpath \
- --enable-fc --enable-f77 --enable-cxx
+ --enable-fc --enable-f77 --enable-cxx \
+ CC=gcc CXX=g++ FC=gfortran \
+ FFLAGS=-fallow-argument-mismatch \
+ FCFLAGS=-fallow-argument-mismatch
make
}