package/libqmi: switch to the new option to disable -Werror
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 29 Mar 2021 21:19:56 +0000 (23:19 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 30 Mar 2021 19:37:05 +0000 (21:37 +0200)
--enable-more-warnings has been dropped since version 1.26.0 and
https://github.com/freedesktop/libqmi/commit/9f31a45d5fc137431705d47b83669f35259932b4

Instead, a new --disable-Werror option has been added, through the use
of AX_COMPILER_FLAGS, so use that to explicitly request wrnings not be
treated as errors.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: use --disable-Werror instead of nothing]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libqmi/libqmi.mk

index b02312d702012aa1ff49670c24d909e010b13293..4b430d11f89c76d22a58a5b6273a94295f658da0 100644 (file)
@@ -13,8 +13,7 @@ LIBQMI_INSTALL_STAGING = YES
 
 LIBQMI_DEPENDENCIES = libglib2
 
-# we don't want -Werror
-LIBQMI_CONF_OPTS = --enable-more-warnings=no
+LIBQMI_CONF_OPTS = --disable-Werror
 
 # if libgudev available, request udev support for a better
 # qmi-firmware-update experience