X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=libcitadel%2Fdebian%2Frules;h=2219e78da7edff126e830a3682d69d1d4fe30ecc;hb=5f71f867cba5865e2b359009c5dc60adbefc7762;hp=8cb082d473070ad3a3e64affb57c27424b9d7576;hpb=d1ff575b169bf1028c9b36bd535b467f00ee2c6a;p=citadel.git diff --git a/libcitadel/debian/rules b/libcitadel/debian/rules index 8cb082d47..2219e78da 100755 --- a/libcitadel/debian/rules +++ b/libcitadel/debian/rules @@ -11,10 +11,10 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 -ggdb -rdynamic -MD -MP else - CFLAGS += -O2 -fno-strict-aliasing + CFLAGS += -O2 endif build: build-stamp