]> git.pld-linux.org Git - packages/mbedtls.git/commitdiff
- disable -Werror=stringop-overflow (build failed with gcc 11)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Jun 2021 16:18:48 +0000 (18:18 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Jun 2021 16:18:48 +0000 (18:18 +0200)
mbedtls.spec

index f72571a51810aa5bd62a3d594a22009117077f56..2de020dc99fa8ddbe90e088de44b70a6d203d0d5 100644 (file)
@@ -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
This page took 0.141789 seconds and 4 git commands to generate.