Accepting request 612415 from home:Guillaume_G:branches:mozilla:Factory

- Workaround crash on startup on aarch64, boo#1093059

OBS-URL: https://build.opensuse.org/request/show/612415
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=666
This commit is contained in:
Wolfgang Rosenauer 2018-05-26 15:51:56 +00:00 committed by Git OBS Bridge
parent a7506671a9
commit 5210fcee40
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 26 15:35:53 UTC 2018 - guillaume@Arm.com
- Workaround crash on startup on aarch64, boo#1093059
-------------------------------------------------------------------
Wed May 23 08:49:09 UTC 2018 - guillaume.gardet@opensuse.org

View File

@ -305,6 +305,10 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%if 0%{?suse_version} > 1320
export CFLAGS="$CFLAGS -fno-delete-null-pointer-checks"
%endif
%ifarch aarch64
# Workaround crash on startup. boo#1093059
export CFLAGS="$CFLAGS -ffixed-x28"
%endif
%ifarch %arm
export CFLAGS="${CFLAGS/-g / }"
%endif