diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 9bbe7ce..7b3a1fb 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun May 7 19:47:00 UTC 2023 - Aaron Puchert + +- Fix i586 build by reducing debug info to -g1. (boo#1210168) + ------------------------------------------------------------------- Tue Apr 25 16:01:07 UTC 2023 - Andreas Stieger diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 478d194..781fdc5 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -252,7 +252,7 @@ Obsoletes: tracker-miner-firefox < 0.15 %if 0%{?devpkg} == 0 Obsoletes: %{name}-devel < %{version} %endif -ExcludeArch: armv6l armv6hl ppc ppc64 ppc64le %ix86 +ExcludeArch: armv6l armv6hl ppc ppc64 ppc64le %description Mozilla Firefox is a standalone web browser, designed for standards @@ -401,6 +401,10 @@ export LDFLAGS="\$LDFLAGS -fPIC -Wl,-z,relro,-z,now" export CFLAGS="\$CFLAGS -mminimal-toc" %endif %endif +%ifarch %ix86 +# Not enough memory on 32-bit systems, reduce debug info. +export CFLAGS="\$CFLAGS -g1" +%endif export CXXFLAGS="\$CFLAGS" export MOZCONFIG=$RPM_BUILD_DIR/mozconfig EOF