Fix debug build some more. Disable optimisation for debug build.
svn path=/trunk/netsurf/; revision=4203
This commit is contained in:
parent
b53f36ebc2
commit
4d343e3c6d
4
Makefile
4
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)
|
||||
|
|
Loading…
Reference in New Issue