Accepting request 780186 from mozilla:Factory

OBS-URL: https://build.opensuse.org/request/show/780186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mozilla-nss?expand=0&rev=153
This commit is contained in:
Dominique Leuenberger 2020-02-29 20:20:04 +00:00 committed by Git OBS Bridge
commit deaa59ba87
2 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Feb 27 13:52:10 UTC 2020 - Fridrich Strba <fstrba@suse.com>
- Package also the cmac.h needed by blapi.h
-------------------------------------------------------------------
Tue Feb 25 13:20:51 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Disable LTO on %arm as LTO fails on neon errors
-------------------------------------------------------------------
Sat Feb 8 16:12:53 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>

View File

@ -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")\""
@ -234,7 +239,7 @@ pushd ../dist/Linux*
# copy headers
cp -rL ../public/nss/*.h %{buildroot}%{_includedir}/nss3
# copy some freebl include files we also want
for file in blapi.h alghmac.h
for file in blapi.h alghmac.h cmac.h
do
cp -L ../private/nss/$file %{buildroot}/%{_includedir}/nss3
done