From 4ef3b0c138d4e51c34ef90054cdbdf79b9436d04 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 25 May 2023 07:11:38 -0700 Subject: [PATCH] ldns: Silence -Wstrict-prototypes warnings. Hopefully upstream will fix the function declaration of ldns_edns_option_list_new in the future. --- lib/libldns/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libldns/Makefile b/lib/libldns/Makefile index 7714db950f00..2692b2b29e2e 100644 --- a/lib/libldns/Makefile +++ b/lib/libldns/Makefile @@ -24,6 +24,7 @@ LIBADD= ssl crypto WARNS?= 3 +CWARNFLAGS.edns.c= ${NO_WSTRICT_PROTOTYPES} CWARNFLAGS.parse.c= ${NO_WUSE_AFTER_FREE} CWARNFLAGS.sha2.c= ${NO_WARRAY_PARAMETER}