From 62a95da7d1c67b402c133ff7e07b843ad2953153 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Wed, 27 Apr 2016 11:23:04 +0200 Subject: [PATCH] Added fix for rhbz#1315225 - ppc64le/aarch64 build fixes --- firefox.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/firefox.spec b/firefox.spec index 7d5b2cf..dffcbb7 100644 --- a/firefox.spec +++ b/firefox.spec @@ -94,7 +94,7 @@ Summary: Mozilla Firefox Web browser Name: firefox Version: 46.0 -Release: 3%{?pre_tag}%{?dist} +Release: 4%{?pre_tag}%{?dist} URL: https://www.mozilla.org/projects/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -347,8 +347,12 @@ echo "ac_add_options --disable-optimize" >> .mozconfig echo "ac_add_options --enable-dtrace" >> .mozconfig %else echo "ac_add_options --disable-debug" >> .mozconfig +%ifarch ppc64le aarch64 +echo 'ac_add_options --enable-optimize="-g -O2"' >> .mozconfig +%else echo "ac_add_options --enable-optimize" >> .mozconfig %endif +%endif # s390(x) fails to start with jemalloc enabled %ifarch s390 s390x @@ -807,6 +811,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Wed Apr 27 2016 Martin Stransky - 46.0-4 +- Added fix for rhbz#1315225 - ppc64le/aarch64 build fixes + * Wed Apr 27 2016 Martin Stransky - 46.0-3 - Fixed missing langpacks