Author: rjek
Date: Tue Feb 6 21:48:22 2007
New Revision: 3169
URL:
http://svn.semichrome.net?rev=3169&view=rev
Log:
Reduce warnings caused by GTK and XML2 library headers
Modified:
trunk/netsurf/makefile
Modified: trunk/netsurf/makefile
URL:
http://svn.semichrome.net/trunk/netsurf/makefile?rev=3169&r1=3168&...
==============================================================================
--- trunk/netsurf/makefile (original)
+++ trunk/netsurf/makefile Tue Feb 6 21:48:22 2007
@@ -129,8 +129,11 @@
CFLAGS_NCOS = $(CFLAGS_RISCOS) -Dncos
CFLAGS_DEBUG = -std=c99 -D_BSD_SOURCE -DDEBUG_BUILD $(WARNFLAGS) -I.. \
$(PLATFORM_CFLAGS_DEBUG) -g
-CFLAGS_GTK = -Dnsgtk -std=c99 -D_BSD_SOURCE -Dgtk \
- $(WARNFLAGS) -I.. -g -O0 -Wformat=2 \
+CFLAGS_GTK = -std=c99 -Dgtk -Dnsgtk \
+ -D_BSD_SOURCE \
+ -DGTK_DISABLE_DEPRECATED \
+ -D_POSIX_C_SOURCE \
+ $(WARNFLAGS) -I.. -g -O2 -fomit-frame-pointer -Wformat=2 \
`pkg-config --cflags libglade-2.0 gtk+-2.0` `xml2-config --cflags`
# Stop GCC under Cygwin throwing a fit