Skip to contentSkip to conversation

drbd-utils: Disable warnings as errors

PATCH New Khem Raj 1 participant 1 message Mar 3, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 drbd-utils: Disable warnings as errors

Newer clang ( 18+ ) finds more warnings and treats them as errors therefore disable warnings-as-errors

---
 meta-networking/recipes-support/drbd/drbd-utils_9.27.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-support/drbd/drbd-utils_9.27.0.bb +3 -0
index c50d326224..e1fd8e4480 100644
@@ -29,6 +29,9 @@ DEPENDS = "flex-native keyutils"
 
 inherit autotools-brokensep systemd
 
+# -Wunused-but-set-variable -Wunused-const-variable -Winconsistent-missing-override
+CPPFLAGS:append = " -Wno-error"
+
 EXTRA_OECONF = " \
                 --with-initdir=/etc/init.d    \
                 --without-pacemaker           \
Signature · 1 line
2.44.0