Add -fallow-argument-mismatch to compile with gcc10
This commit is contained in:
parent
2bab65b0be
commit
36f3761857
@ -124,7 +124,8 @@ CONFIGURE_OPTS=(
|
|||||||
--with-hwloc-prefix=system
|
--with-hwloc-prefix=system
|
||||||
)
|
)
|
||||||
|
|
||||||
%configure "${CONFIGURE_OPTS[@]}"
|
# Set -fallow-argument-mismatch for #1795817
|
||||||
|
%configure "${CONFIGURE_OPTS[@]}" FFLAGS="$FFLAGS -fallow-argument-mismatch"
|
||||||
|
|
||||||
# Remove rpath
|
# Remove rpath
|
||||||
sed -r -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
sed -r -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
|
Loading…
Reference in New Issue
Block a user