Skip to contentSkip to conversation

pidgin-sipe: Add packageconfig to turn Werror on/off

PATCH New Khem Raj 1 participant 1 message Jul 1, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 pidgin-sipe: Add packageconfig to turn Werror on/off

This component has many warnings and is using deprecated libxml2 interfaces as distros its better to disable Werror, if devs want to enable it then add the needed packageconfig explicitly.

Cc Martin Jansa <[email protected]>
---
 meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb +2 -2
index 90e1701488..6ce42ec187 100644
@@ -25,6 +25,8 @@ PACKAGECONFIG[krb5] = "--with-krb5=yes,--with-krb5=no,krb5"
 PACKAGECONFIG[telepathy] = "--enable-telepathy=yes,--enable-telepathy=no,telepathy-glib"
 #PACKAGECONFIG[gssapi_only] = "--enable-gssapi-only=yes,--enable-gssapi-only=no,krb5"
 PACKAGECONFIG[debug] = "--enable-debug=yes,--enable-debug=no,valgrind"
+# disable Werror by default, useful for dev mode
+PACKAGECONFIG[quality] = "--enable-quality-check=yes,--enable-quality-check=no,"
 
 FILES:${PN}-dev += " \
     ${libdir}/purple-2/*.la \
@@ -35,5 +37,3 @@ FILES:${PN} += " \
     ${datadir}/appdata \
     ${datadir}/metainfo \
 "
-
-CFLAGS = "-Wno-error=deprecated-declarations"
Signature · 1 line
2.41.0