Accepting request 885737 from security:tls

-  Workaround for building with gcc-11 boo#1181876

OBS-URL: https://build.opensuse.org/request/show/885737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mbedtls?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2021-04-18 19:45:10 +00:00 committed by Git OBS Bridge
commit 01f51682ce
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 15 16:00:07 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
- Workaround for building with gcc-11 boo#1181876
-------------------------------------------------------------------
Mon Mar 22 15:54:07 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -97,7 +97,10 @@ sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' include/mbedtls/config.h
%build
%define __builder ninja
export CFLAGS="%{optflags} -Wno-stringop-overflow -Wno-maybe-uninitialized"
export CXXLAGS="%{optflags} -Wno-stringop-overflow -Wno-maybe-uninitialized"
%cmake \
-DUNSAFE_BUILD=ON \
-DLINK_WITH_PTHREAD=ON \
-DUSE_PKCS11_HELPER_LIBRARY=ON \
-DENABLE_ZLIB_SUPPORT=ON \