[Buildroot] [git commit branch/2017.05.x] linux-zigbee: fix build with gcc 7

Peter Korsgaard peter at korsgaard.com
Tue Jul 25 21:42:24 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=1650abdfe3895482848d0ba02fc16cf15ce57b7f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.05.x

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 at tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit e1bebe18e54ad634bd6151445f009aa53038d765)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/linux-zigbee/linux-zigbee.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/linux-zigbee/linux-zigbee.mk b/package/linux-zigbee/linux-zigbee.mk
index 9450ca4..8d3248f 100644
--- a/package/linux-zigbee/linux-zigbee.mk
+++ b/package/linux-zigbee/linux-zigbee.mk
@@ -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)


More information about the buildroot mailing list