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:
commit
01f51682ce
@ -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>
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user