Add -fallow-argument-mismatch to compile with gcc10

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-01-29 10:01:40 +01:00
parent 2bab65b0be
commit 36f3761857

View File

@ -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