[Buildroot] [git commit] libqmi: fix autobuild failures

Peter Korsgaard peter at korsgaard.com
Mon Nov 11 16:24:52 UTC 2013

commit: http://git.buildroot.net/buildroot/commit/?id=6a3bff298e0026fbbbea46aea1a859a30691a560
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The libqmi build specifies -Werror in the CFLAGS by default. This causes
build failures such as the following.


The -Werror flag can be disabled using a configuration switch.

[Peter: use =no instead and add a comment explaining why]
Signed-off-by: Simon Dawson <spdawson at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
 package/libqmi/libqmi.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/package/libqmi/libqmi.mk b/package/libqmi/libqmi.mk
index 911b1a7..4f3f9a9 100644
--- a/package/libqmi/libqmi.mk
+++ b/package/libqmi/libqmi.mk
@@ -13,4 +13,7 @@ LIBQMI_INSTALL_STAGING = YES
+# we don't want -Werror
+LIBQMI_CONF_OPT = --enable-more-warnings=no
 $(eval $(autotools-package))

More information about the buildroot mailing list