From 4d343e3c6dd24a16f36a320723e2eb4db580e150 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 25 May 2008 23:57:34 +0000 Subject: Fix debug build some more. Disable optimisation for debug build. svn path=/trunk/netsurf/; revision=4203 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fe57b8a35..d2ec2767f 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3