disable jemalloc on s390(x) (taken from xulrunner)

This commit is contained in:
Dan Horák 2012-01-05 11:54:09 +01:00
parent 8c862eba34
commit 3bafc5e9b9

View File

@ -33,7 +33,7 @@
Summary: Mozilla Thunderbird mail/newsgroup client Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird Name: thunderbird
Version: 9.0 Version: 9.0
Release: 5%{?dist} Release: 6%{?dist}
URL: http://www.mozilla.org/projects/thunderbird/ URL: http://www.mozilla.org/projects/thunderbird/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet Group: Applications/Internet
@ -175,6 +175,11 @@ cd ..
%{__cat} %{SOURCE13} >> .mozconfig %{__cat} %{SOURCE13} >> .mozconfig
%endif %endif
# s390(x) fails to start with jemalloc enabled
%ifarch s390 s390x
echo "ac_add_options --disable-jemalloc" >> .mozconfig
%endif
%if %{?system_sqlite} %if %{?system_sqlite}
echo "ac_add_options --enable-system-sqlite" >> .mozconfig echo "ac_add_options --enable-system-sqlite" >> .mozconfig
%else %else
@ -368,6 +373,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#=============================================================================== #===============================================================================
%changelog %changelog
* Thu Jan 05 2012 Dan Horák <dan[at]danny.cz> - 9.0-6
- disable jemalloc on s390(x) (taken from xulrunner)
* Wed Jan 04 2012 Dan Horák <dan[at]danny.cz> - 9.0-5 * Wed Jan 04 2012 Dan Horák <dan[at]danny.cz> - 9.0-5
- fix build on secondary arches (cherry-picked from 13afcd4c097c) - fix build on secondary arches (cherry-picked from 13afcd4c097c)