14 Oct
2020
14 Oct
'20
7:35 a.m.
__atomic_fecth_add(___sync_fetch_and_add) builtin requires i586 at least. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 1882f208c..4b8ec235f 100755 --- a/configure +++ b/configure @@ -2291,8 +2291,8 @@ case "$host_arch" in fi else # if test "$_runtime_cpudetection" = no _mcpu="$cpuopt=generic" - # at least i486 required, for bswap instruction - _march="-march=i486" + # at least i586 required, for __atomic_fetch_add builtin + _march="-march=i586" cflag_check $_mcpu || _mcpu="$cpuopt=i686" cflag_check $_mcpu || _mcpu="" cflag_check $_march $_mcpu || _march="" -- 2.22.0