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
This commit is contained in:
Wolfgang Rosenauer 2023-05-08 05:59:59 +00:00 committed by Git OBS Bridge
parent a2aae95ca7
commit c1a18b007d
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun May 7 19:47:00 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Fix i586 build by reducing debug info to -g1. (boo#1210168)
-------------------------------------------------------------------
Tue Apr 25 16:01:07 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -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