Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2022 18:36:36 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 693e8e647518 - stable/13 - ldns: Disable -Warray-parameter warnings from GCC 12 on sha2.c.
Message-ID:  <202211111836.2ABIaa49003802@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=693e8e6475180b4c99d9ba6e83f85ca437d5d182

commit 693e8e6475180b4c99d9ba6e83f85ca437d5d182
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-09-28 21:02:30 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-11-11 18:18:52 +0000

    ldns: Disable -Warray-parameter warnings from GCC 12 on sha2.c.
    
    Reviewed by:    imp, emaste
    Differential Revision:  https://reviews.freebsd.org/D36758
    
    (cherry picked from commit 5d27845e5a8b7324b91d6a6c2a63db2635671205)
---
 lib/libldns/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/libldns/Makefile b/lib/libldns/Makefile
index 34ffe7d2ed73..40efe0ff0fda 100644
--- a/lib/libldns/Makefile
+++ b/lib/libldns/Makefile
@@ -23,4 +23,6 @@ LIBADD=	ssl crypto
 
 WARNS ?= 3
 
+CWARNFLAGS.sha2.c=	${NO_WARRAY_PARAMETER}
+
 .include <bsd.lib.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211111836.2ABIaa49003802>