Accepting request 1001872 from home:iznogood:factory

- Add export CFLAGS/CXXFLAGS="-Wno-error=deprecated-declarations"
  inbefore configure. We pass --enable-werror to configure, and
  that leads to warnings about deprecations failing build. As
  deprecations is mainly a consern for upstream, stop failing on
  those.

OBS-URL: https://build.opensuse.org/request/show/1001872
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/xmlsec1?expand=0&rev=42
This commit is contained in:
Danilo Spinella 2022-09-08 08:30:06 +00:00 committed by Git OBS Bridge
parent a732cb15e2
commit a0e159504a
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Sep 8 07:25:33 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Add export CFLAGS/CXXFLAGS="-Wno-error=deprecated-declarations"
inbefore configure. We pass --enable-werror to configure, and
that leads to warnings about deprecations failing build. As
deprecations is mainly a consern for upstream, stop failing on
those.
-------------------------------------------------------------------
Mon May 23 09:49:35 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -143,6 +143,9 @@ Libraries, includes, etc. for developing XML Security applications with NSS.
%autosetup -p1
%build
# Allow for deprecations
export CFLAGS="-Wno-error=deprecated-declarations"
export CXXFLAGS="-Wno-error=deprecated-declarations"
%configure \
--disable-static \
--disable-silent-rules \