X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fdebian%2Frules;h=5c51eb473f202bc1d74720eb58abf7b9790ba5f9;hb=fdb030b497950239b2b7db63b3953f6a6f425f1e;hp=b9e067b2ff5b424c5f6e73190ee9437579ae76ff;hpb=ceec483b7aac5ec74a718a1080de75e10860d298;p=citadel.git diff --git a/citadel/debian/rules b/citadel/debian/rules index b9e067b2f..5c51eb473 100755 --- a/citadel/debian/rules +++ b/citadel/debian/rules @@ -24,6 +24,9 @@ ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 -ggdb -rdynamic -D_GNU_SOURCE -MD -MP -D TECH_PREVIEW LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed EXTRA_ARGS = --with-backtrace + ifneq (,$(findstring event,$(DEB_BUILD_OPTIONS))) + EXTRA_ARGS = --with-backtrace --with-experimental_eventsmtp + endif else LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed CFLAGS += -O2