From ed037c4214d93d68a520c99d8e13f438037c6c01 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 12 Jun 2020 11:16:52 +0200 Subject: mpich2: fix compilation with gcc10 --- mpich2/PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.3-70-g09d2