diff --git a/mozilla-nss.changes b/mozilla-nss.changes index 9ab802d..9d743ce 100644 --- a/mozilla-nss.changes +++ b/mozilla-nss.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 25 13:20:51 UTC 2020 - Guillaume GARDET + +- Disable LTO on %arm as LTO fails on neon errors + ------------------------------------------------------------------- Sat Feb 8 16:12:53 UTC 2020 - Wolfgang Rosenauer diff --git a/mozilla-nss.spec b/mozilla-nss.spec index 9b9f16a..3632310 100644 --- a/mozilla-nss.spec +++ b/mozilla-nss.spec @@ -185,7 +185,12 @@ cd nss #make generate %build +%ifarch %arm +# LTO fails on neon errors +%global _lto_cflags %{nil} +%else %global _lto_cflags %{_lto_cflags} -ffat-lto-objects +%endif cd nss modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE99}")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""