kconfig/gconf: silent missing prototype warnings
authorArnaud Lacombe <lacombar@gmail.com>
Mon, 6 Jun 2011 03:36:05 +0000 (23:36 -0400)
committerArnaud Lacombe <lacombar@gmail.com>
Mon, 6 Jun 2011 19:32:23 +0000 (15:32 -0400)
As the `gconf' frontend is un-maintained, go the easy way by silencing
the "warning: no previous prototype for '<fn>'" warnings.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
scripts/kconfig/Makefile

index 0460ac3b358850f80928c55a6f56297190db5072..84abb2fc61d106bd32a5cfb16268c85d457c0b5f 100644 (file)
@@ -227,7 +227,8 @@ HOSTLOADLIBES_qconf = $(KC_QT_LIBS)
 HOSTCXXFLAGS_qconf.o   = $(KC_QT_CFLAGS)
 
 HOSTLOADLIBES_gconf    = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0`
-HOSTCFLAGS_gconf.o     = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0`
+HOSTCFLAGS_gconf.o     = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \
+                          -Wno-missing-prototypes
 
 HOSTLOADLIBES_mconf   = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC))