diff --git a/glusterfs.changes b/glusterfs.changes index b33fd48..28274d8 100644 --- a/glusterfs.changes +++ b/glusterfs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 3 08:37:11 UTC 2025 - Guillaume GARDET + +- Fix build on 32-bit arm with a workaround + ------------------------------------------------------------------- Fri Jan 24 08:00:04 UTC 2025 - Daniel Garcia diff --git a/glusterfs.spec b/glusterfs.spec index 5c3bc82..545fb07 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -152,6 +152,10 @@ rm contrib/aclocal/python.m4 %build %define _lto_cflags %nil +%ifarch %{arm} +# https://github.com/gluster/glusterfs/issues/2979#issuecomment-976739179 +export CFLAGS="%{optflags} -DUATOMIC_NO_LINK_ERROR" +%endif ./autogen.sh %configure \ --without-tcmalloc \