1
0

-fno-inline-small-functions to CFLAGS

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

View File

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

View File

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