From c1a18b007d81e9e9ec482199e73e3862af6dab52b9fa88ab3e081235da642ccd Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Mon, 8 May 2023 05:59:59 +0000 Subject: [PATCH] Accepting request 1085361 from home:aaronpuchert:branches:mozilla:Factory - Fix i586 build by reducing debug info to -g1. (boo#1210168) OBS-URL: https://build.opensuse.org/request/show/1085361 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=1057 --- MozillaFirefox.changes | 5 +++++ MozillaFirefox.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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