linux-zigbee: fix build with gcc 7
authorBaruch Siach <baruch@tkos.co.il>
Thu, 20 Jul 2017 22:04:32 +0000 (01:04 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 21 Jul 2017 06:59:49 +0000 (08:59 +0200)
Disable -Werror to avoid the fatal result of new gcc 7 format string warnings.

Fixes:
http://autobuild.buildroot.net/results/29c/29c72bc38042305310576be945c721b2fad95894/
http://autobuild.buildroot.net/results/a7d/a7d38d72834b94291eaff159da277b11e2f9d63a/
http://autobuild.buildroot.net/results/cfe/cfed5176075f0cb9e2f56ebef10f5d6c352baf10/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/linux-zigbee/linux-zigbee.mk

index 9450ca4b21964678194c8ad9e20f38f261049afc..8d3248f2e1f7abfd598dcd4d5c0fb76beb0aeb8d 100644 (file)
@@ -15,6 +15,7 @@ LINUX_ZIGBEE_AUTORECONF = YES
 
 LINUX_ZIGBEE_CONF_OPTS = \
        --disable-manpages \
+       --disable-werror \
        --with-leasefile="$(call qstrip,$(BR2_PACKAGE_LINUX_ZIGBEE_LEASEFILE))"
 
 ifeq ($(BR2_PACKAGE_LINUX_ZIGBEE_TESTS),y)