From: Wilfried Göesgens Date: Tue, 26 May 2009 18:19:04 +0000 (+0000) Subject: * -pg just if profiling is enabled. X-Git-Tag: v7.86~1130 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=b266477dc3585ccbbc8aa2ad93062b055a8aab2a * -pg just if profiling is enabled. --- 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/ \