debug commit for the autobuilder, please ignore

This commit is contained in:
Michael Stapelberg 2012-01-23 19:58:30 +00:00
parent d579992528
commit 79d28f84c1
2 changed files with 5 additions and 2 deletions

View File

@ -124,10 +124,12 @@ CPPFLAGS += -D_GNU_SOURCE
endif
ifeq ($(DEBUG),1)
$(warning "DEBUG build")
# Extended debugging flags, macros shall be available in gcc
CFLAGS += -gdwarf-2
CFLAGS += -g3
else
$(warning "non-DEBUG build, enabling optimization")
CFLAGS += -O2
CFLAGS += -freorder-blocks-and-partition
endif
@ -138,7 +140,7 @@ LIBS += -lgcov
endif
# Dont print command lines which are run
.SILENT:
#.SILENT:
# Always remake the following targets
.PHONY: install clean dist distclean

3
debian/rules vendored
View File

@ -28,7 +28,8 @@ binary-indep: install
binary: binary-arch binary-indep
override_dh_auto_build:
$(MAKE)
env
$(MAKE) -d
$(MAKE) -C man
$(MAKE) -C docs