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