Accepting request 414914 from home:1Antoine1:branches:mozilla:Factory

Disable some GCC optimizations to fix sigsev at startup on i586. boo#986541

OBS-URL: https://build.opensuse.org/request/show/414914
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=531
This commit is contained in:
Wolfgang Rosenauer 2016-07-24 20:38:24 +00:00 committed by Git OBS Bridge
parent a0dc99e46e
commit 1d67894392
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Jul 23 20:13:08 UTC 2016 - antoine.belvire@laposte.net
- Fix Firefox crash on startup on i586 (boo#986541):
* Add -fno-delete-null-pointer-checks and
-fno-inline-small-functions to CLFAGS
-------------------------------------------------------------------
Tue Jul 19 20:12:11 UTC 2016 - mailaender@opensuse.org

View File

@ -293,7 +293,8 @@ export MOZILLA_OFFICIAL=1
export BUILD_OFFICIAL=1
export MOZ_TELEMETRY_REPORTING=1
export MOZ_GOOGLE_API_KEY=%{_google_api_key}
export CFLAGS="%{optflags} -fno-strict-aliasing"
# boo#986541: add -fno-delete-null-pointer-checks and -fno-inline-small-functions to fix Firefox on i586
export CFLAGS="%{optflags} -fno-strict-aliasing -fno-delete-null-pointer-checks -fno-inline-small-functions"
%ifarch %arm
export CFLAGS="${CFLAGS/-g / }"
%endif