X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fdebian%2Frules;fp=webcit%2Fdebian%2Frules;h=2631d682c5347b9b8d8a0869b5f3c088d7d87f6e;hb=613aa4c10d0ec1928a5e5b90b6381b2098612f09;hp=f97e5d04ebb25b4f843cd43fe856a8315b67aec4;hpb=2a4ce5e84deff8b4825edf94d18fb0e568de9c07;p=citadel.git diff --git a/webcit/debian/rules b/webcit/debian/rules index f97e5d04e..2631d682c 100755 --- a/webcit/debian/rules +++ b/webcit/debian/rules @@ -18,6 +18,7 @@ DESTDIR=$(CURDIR)/debian/citadel-webcit EXTRA_ARGS= PROFILE_ARGS= COMPILER= +CFLAGS= #to enable debugging: export DEB_BUILD_OPTIONS="debug profiling compression urldebug iodbg clang" ifneq (,$(findstring clang,$(DEB_BUILD_OPTIONS))) @@ -51,7 +52,7 @@ endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif - CC=$(COMPILER) CFLAGS="$(CFLAGS)" ./configure \ + CC=$(COMPILER) CFLAGS=" -Wformat -Werror=format-security $(CFLAGS)" ./configure \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr/sbin/ \