summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-01-27 15:27:16 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-01-27 15:27:16 +0000
commit477d948682bb1f28f516477d904bc47a02ece068 (patch)
treec33ad04282c24e2231bc4b0dcad350b6e4809940
parent957b3b211b3ec0b0ebf0e010129e2e0788521890 (diff)
downloaduserv-utils-477d948682bb1f28f516477d904bc47a02ece068.tar.gz
build improvements
-rw-r--r--debian/changelog2
-rw-r--r--settings.make2
-rw-r--r--www-cgi/Makefile2
3 files changed, 4 insertions, 2 deletions
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