1
0
forked from pool/glusterfs

Fix build on 32-bit arm with a workaround

This commit is contained in:
Guillaume GARDET 2025-02-03 09:55:43 +01:00
parent f01ee0e53d
commit 78e8cd5420
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 3 08:37:11 UTC 2025 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix build on 32-bit arm with a workaround
-------------------------------------------------------------------
Fri Jan 24 08:00:04 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>

View File

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