revert the debugging changes
Building a non-optimized (-O0 vs. -O2) Debian package required: echo 'export DEB_BUILD_OPTIONS=noopt' >> ~/.pbuilderrc
This commit is contained in:
parent
79d28f84c1
commit
fbaa6d4a3d
@ -124,12 +124,10 @@ CPPFLAGS += -D_GNU_SOURCE
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(DEBUG),1)
|
ifeq ($(DEBUG),1)
|
||||||
$(warning "DEBUG build")
|
|
||||||
# Extended debugging flags, macros shall be available in gcc
|
# Extended debugging flags, macros shall be available in gcc
|
||||||
CFLAGS += -gdwarf-2
|
CFLAGS += -gdwarf-2
|
||||||
CFLAGS += -g3
|
CFLAGS += -g3
|
||||||
else
|
else
|
||||||
$(warning "non-DEBUG build, enabling optimization")
|
|
||||||
CFLAGS += -O2
|
CFLAGS += -O2
|
||||||
CFLAGS += -freorder-blocks-and-partition
|
CFLAGS += -freorder-blocks-and-partition
|
||||||
endif
|
endif
|
||||||
@ -140,7 +138,7 @@ LIBS += -lgcov
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Don’t print command lines which are run
|
# Don’t print command lines which are run
|
||||||
#.SILENT:
|
.SILENT:
|
||||||
|
|
||||||
# Always remake the following targets
|
# Always remake the following targets
|
||||||
.PHONY: install clean dist distclean
|
.PHONY: install clean dist distclean
|
||||||
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -28,8 +28,7 @@ binary-indep: install
|
|||||||
binary: binary-arch binary-indep
|
binary: binary-arch binary-indep
|
||||||
|
|
||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
env
|
$(MAKE)
|
||||||
$(MAKE) -d
|
|
||||||
$(MAKE) -C man
|
$(MAKE) -C man
|
||||||
$(MAKE) -C docs
|
$(MAKE) -C docs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user