forked from pool/mbedtls
- Workaround for building with gcc-11 boo#1181876
OBS-URL: https://build.opensuse.org/package/show/security:tls/mbedtls?expand=0&rev=29
This commit is contained in:
parent
96005743cb
commit
c72ede0254
@ -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>
|
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
|
%build
|
||||||
%define __builder ninja
|
%define __builder ninja
|
||||||
|
export CFLAGS="%{optflags} -Wno-stringop-overflow -Wno-maybe-uninitialized"
|
||||||
|
export CXXLAGS="%{optflags} -Wno-stringop-overflow -Wno-maybe-uninitialized"
|
||||||
%cmake \
|
%cmake \
|
||||||
|
-DUNSAFE_BUILD=ON \
|
||||||
-DLINK_WITH_PTHREAD=ON \
|
-DLINK_WITH_PTHREAD=ON \
|
||||||
-DUSE_PKCS11_HELPER_LIBRARY=ON \
|
-DUSE_PKCS11_HELPER_LIBRARY=ON \
|
||||||
-DENABLE_ZLIB_SUPPORT=ON \
|
-DENABLE_ZLIB_SUPPORT=ON \
|
||||||
|
Loading…
Reference in New Issue
Block a user