imxcc 91c8e83424 glusterfs.spec: fix issues with libtcmalloc
Backport: e894527ecf531d1b31bdcc9b23a10627c1b4d355
1) tcmalloc can't be dlopen()ed successfully on non-x86_64 arches,
   or at least not on aarch64, s390x, and armv7hl; causing issues
   with qemu and/or libvirt on those platforms.
2) invoking rpmbuild with --without-tcmalloc creates the %global
   %_without_tcmalloc (=true), and AFAIK does not creat the
   %global  %_with_tcmalloc (=false). The later tests for
   %_with_tcmalloc: do not work correctly, they need to test for
   '!%_without_tcmalloc'.
3) a %global %_without_libtcmalloc is created but never used.
   The %configure step uses %_without_tcmalloc.

Signed-off-by: imxcc <xingchaochao@huawei.com>
Signed-off-by: kalebskeithley <kaleb@redhat.com>
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit 402675e26a2234a8c8c3646d3282519a3bdcf1d4)
2022-01-29 15:16:26 +08:00
2021-12-02 17:36:23 +08:00
2020-06-15 14:34:38 +08:00
Description
No description provided
46 MiB
Languages
Diff 100%