From: Ian Jackson Date: Sun, 27 Jan 2013 15:27:16 +0000 (+0000) Subject: build improvements X-Git-Tag: userv/0.6.1~72 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv-utils.git;a=commitdiff_plain;h=477d948682bb1f28f516477d904bc47a02ece068 build improvements --- diff --git a/debian/changelog b/debian/changelog index 6f9b1e0..11faf52 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ userv-utils (0.5.0) unstable; urgency=low * ipif: Improve documentation comment. * ipif: Some portability improvements. * Remove .cvsignore files. + * Pass -g to linker, by default. + * www-cgi: clean target removes *.o. -- diff --git a/settings.make b/settings.make index 2fa37e7..0c4de29 100644 --- a/settings.make +++ b/settings.make @@ -40,7 +40,7 @@ services= $(etcuserv)/services.d CFLAGS= -Wall -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes \ -Wpointer-arith -D_GNU_SOURCE -Wno-pointer-sign \ $(OPTIMISE) $(DEBUG) $(SUBDIR_CFLAGS) -LDFLAGS= $(SUBDIR_LDFLAGS) +LDFLAGS= $(SUBDIR_LDFLAGS) $(DEBUG) OPTIMISE= -O2 DEBUG= -g diff --git a/www-cgi/Makefile b/www-cgi/Makefile index 440de6b..57c1d6a 100644 --- a/www-cgi/Makefile +++ b/www-cgi/Makefile @@ -44,4 +44,4 @@ install-examples: install-docs: clean distclean realclean: - rm -f $(TARGETS) + rm -f $(TARGETS) *.o