Fix debug build some more. Disable optimisation for debug build.

svn path=/trunk/netsurf/; revision=4203
This commit is contained in:
John Mark Bell 2008-05-25 23:57:34 +00:00
parent b53f36ebc2
commit 4d343e3c6d
1 changed files with 2 additions and 2 deletions

View File

@ -169,12 +169,12 @@ endif
endif
ifeq ($(TARGET),debug)
CFLAGS += -std=c99 \
CFLAGS += -std=c99 -DDEBUG_BUILD \
-D_BSD_SOURCE \
-D_XOPEN_SOURCE=600 \
-D_POSIX_C_SOURCE=200112L \
-D_NETBSD_SOURCE \
$(WARNFLAGS) -I. -I../../libsprite/trunk/ -g -O \
$(WARNFLAGS) -I. -I../../libsprite/trunk/ -g -O0 \
$(shell $(PKG_CONFIG) --cflags librosprite) \
$(shell xml2-config --cflags)
LDFLAGS += $(shell $(PKG_CONFIG) --libs librosprite)