From b266477dc3585ccbbc8aa2ad93062b055a8aab2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Tue, 26 May 2009 18:19:04 +0000 Subject: [PATCH] * -pg just if profiling is enabled. --- webcit/debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webcit/debian/rules b/webcit/debian/rules index 34ce33f21..0a62396a7 100755 --- a/webcit/debian/rules +++ b/webcit/debian/rules @@ -21,10 +21,10 @@ PROFILE_ARGS= ifneq (,$(findstring profiling,$(DEB_BUILD_OPTIONS))) PROFILE_ARGS= --with-gprof + LDFLAGS += -pg endif ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 -ggdb -rdynamic -MD -MP -D TECH_PREVIEW -pedantic - LDFLAGS += -pg EXTRA_ARGS = --with-backtrace else CFLAGS += -O2 @@ -48,7 +48,7 @@ endif --prefix=/usr/sbin/ \ --with-wwwdir=/usr/share/citadel-webcit \ --with-localedir=/usr/share/ \ - --with-editordir=/usr/share/tinymce/www \ + --with-editordir=/usr/share/tinymce/www/ \ --with-rundir=/var/run/citadel \ --with-ical --with-db --with-ldap \ --with-ssldir=/etc/ssl/webcit/ \ -- 2.30.2