el6 ppc64 likewise for tcmalloc, merge from origin/el6

This commit is contained in:
Kaleb S. KEITHLEY 2014-06-05 04:44:32 -04:00
parent cca983bdeb
commit 560f971731
1 changed files with 9 additions and 0 deletions

View File

@ -107,9 +107,15 @@ EXTRA_LDFLAGS="-lpthread"
%if ( 0%{?rhel} && 0%{?rhel} <= 6 )
--without-libxfs \
%endif
%if ( ! (0%{?rhel} && 0%{?rhel} <= 6 ) )
%ifarch ppc s390 s390x
--without-tcmalloc \
%endif
%else
%ifarch ppc ppc64 s390 s390x
--without-tcmalloc \
%endif
%endif
--with-system-leveldb --without-hadoop --with-radosgw --with-gtk2 \
CFLAGS="$RPM_OPT_FLAGS $EXTRA_CFLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS $EXTRA_CFLAGS -fvisibility-inlines-hidden" \
@ -301,6 +307,9 @@ fi
%{_sysconfdir}/bash_completion.d/radosgw-admin
%changelog
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
- el6 ppc64 likewise for tcmalloc, merge from origin/el6
* Thu Jun 5 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
- el6 ppc64 does not have gperftools, merge from origin/el6