From 027339456bc7d47f8ec907e04c3a7a9f64924ab8 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 3 Feb 2023 10:48:45 -0800 Subject: [PATCH] ircd: Suppress clang conditional-uninitialized false positive for b64.lo. --- ircd/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ircd/Makefile.am b/ircd/Makefile.am index 66cd54a7c..d17de59d0 100644 --- a/ircd/Makefile.am +++ b/ircd/Makefile.am @@ -274,6 +274,9 @@ ASIO_UNIT_CPPFLAGS += -include ircd/asio.h SPIRIT_UNIT_CPPFLAGS += -include ircd/spirit.h endif +if CLANG +b64.lo: AM_CXXFLAGS := ${AM_CXXFLAGS} -Wno-conditional-uninitialized +endif if OPENCL cl.lo: AM_CPPFLAGS := @OPENCL_CPPFLAGS@ ${AM_CPPFLAGS} endif