Skip to contentSkip to conversation

inotify-tools: Disable -Werror

PATCH New Khem Raj 1 participant 1 message Dec 16, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 inotify-tools: Disable -Werror

This is to squash a new warning popping with glibc 2.35

---
 .../recipes-support/inotify-tools/inotify-tools_3.21.9.6.bb   | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/inotify-tools/inotify-tools_3.21.9.6.bb +4 -0
index 489ca56b91..e3a4e6350e 100644
@@ -15,6 +15,10 @@ inherit autotools
 
 EXTRA_OECONF = "--disable-doxygen"
 
+# workaround until glibc 2.35 is fixed for this [1]
+# [1] https://sourceware.org/pipermail/libc-alpha/2021-December/134215.html
+CFLAGS += "-Wno-error"
+
 PACKAGES =+ "libinotifytools"
 
 FILES:libinotifytools = "${libdir}/lib*.so.*"
Signature · 1 line
2.34.1