putty: don't treat warnings as errors
authorBaruch Siach <baruch@tkos.co.il>
Sat, 24 Dec 2016 18:40:49 +0000 (20:40 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 25 Dec 2016 22:32:52 +0000 (23:32 +0100)
Fixes:
http://autobuild.buildroot.net/results/652/65246fe6357cd3cd8490bc54baa2394730dcef79/
http://autobuild.buildroot.net/results/853/85320f3b8e770bbfbec306685ad75b66e91bd6ee/
http://autobuild.buildroot.net/results/492/492a7055408ed6b388982cece41e98d956ef85f8/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/putty/putty.mk

index ca86c47052366dd9073260e7cd46cd9b35b24cdf..7603f693d1674a05b473a8662af578ad3db837c3 100644 (file)
@@ -11,6 +11,7 @@ PUTTY_SUBDIR = unix
 PUTTY_LICENSE = MIT
 PUTTY_LICENSE_FILES = LICENCE
 PUTTY_CONF_OPTS = --disable-gtktest
+PUTTY_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -Wno-error"
 
 ifeq ($(BR2_PACKAGE_LIBGTK2),y)
 PUTTY_CONF_OPTS += --with-gtk=2