libqmi: fix autobuild failures
authorSimon Dawson <spdawson@gmail.com>
Mon, 11 Nov 2013 15:43:47 +0000 (15:43 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 11 Nov 2013 16:24:52 +0000 (17:24 +0100)
The libqmi build specifies -Werror in the CFLAGS by default. This causes
build failures such as the following.

  http://autobuild.buildroot.net/results/070/070449299aa9025c4bc6769524a6e22d66c92a65/

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@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libqmi/libqmi.mk

index 911b1a7957a107d803e72c3770d4b7e54bca3af1..4f3f9a9deb885d1a79aacaa16eeab50586e1616d 100644 (file)
@@ -13,4 +13,7 @@ LIBQMI_INSTALL_STAGING = YES
 
 LIBQMI_DEPENDENCIES = libglib2
 
+# we don't want -Werror
+LIBQMI_CONF_OPT = --enable-more-warnings=no
+
 $(eval $(autotools-package))