From 36f3761857c27b819831eda0ca97ae0cf63efc34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 29 Jan 2020 10:01:40 +0100 Subject: [PATCH] Add -fallow-argument-mismatch to compile with gcc10 --- mpich.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mpich.spec b/mpich.spec index eb36fa9..acb4019 100644 --- a/mpich.spec +++ b/mpich.spec @@ -124,7 +124,8 @@ CONFIGURE_OPTS=( --with-hwloc-prefix=system ) -%configure "${CONFIGURE_OPTS[@]}" +# Set -fallow-argument-mismatch for #1795817 +%configure "${CONFIGURE_OPTS[@]}" FFLAGS="$FFLAGS -fallow-argument-mismatch" # Remove rpath sed -r -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool