Committer: Diego Biurrun <diego@xxxxxxxxxx> Date: 29/03/2010 at 21:15:07 Revision: 4076 Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: Use GTK_CFLAGS and -Wno-strict-prototypes when building lib/gui/ header file objects. GTK needs special -I flags and complains about -Wstrict-prototypes. Modified: M Makefile.am === modified file 'Makefile.am' --- Makefile.am 2010-03-26 00:32:25 +0000 +++ Makefile.am 2010-03-29 18:13:46 +0000 @@ -645,4 +645,6 @@ %.ho: %.h $(CC) -I$(srcdir) -I$(builddir) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -o $@ $< +lib/gui/%.ho: CFLAGS += @GTK_CFLAGS@ -Wno-strict-prototypes + .PHONY: bin checkheaders deb doxygen increl olddeb rpm syncrepo