commit 9735fbf40ee5210fd97d30491a82bb5e511e266b
Author: Jakub Bogusz <[email protected]>
Date: Sun Jun 13 18:18:48 2021 +0200
- disable -Werror=stringop-overflow (build failed with gcc 11)
mbedtls.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/mbedtls.spec b/mbedtls.spec
index f72571a..2de020d 100644
--- a/mbedtls.spec
+++ b/mbedtls.spec
@@ -20,8 +20,9 @@ BuildRequires: rpmbuild(macros) >= 1.605
%{?with_zlib:BuildRequires: zlib-devel}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-# some false positives(?)
-%define specflags -Wno-error=format-truncation
+# some false positives for format-truncation(?)
+# for stringop-overflow see library/ssl_tls.c /stringop-overflow (workaround
no longer works with gcc 11)
+%define specflags -Wno-error=format-truncation
-Wno-error=stringop-overflow
%description
mbedTLS is a light-weight open source cryptographic and SSL/TLS
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mbedtls.git/commitdiff/9735fbf40ee5210fd97d30491a82bb5e511e266b
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit