forked from pool/glusterfs
Fix build on 32-bit arm with a workaround
This commit is contained in:
parent
f01ee0e53d
commit
78e8cd5420
@ -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>
|
Fri Jan 24 08:00:04 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@ -152,6 +152,10 @@ rm contrib/aclocal/python.m4
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%define _lto_cflags %nil
|
%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
|
./autogen.sh
|
||||||
%configure \
|
%configure \
|
||||||
--without-tcmalloc \
|
--without-tcmalloc \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user