build improvements
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 27 Jan 2013 15:27:16 +0000 (15:27 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 27 Jan 2013 15:27:16 +0000 (15:27 +0000)
debian/changelog
settings.make
www-cgi/Makefile

index 6f9b1e0..11faf52 100644 (file)
@@ -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.
 
  --
 
index 2fa37e7..0c4de29 100644 (file)
@@ -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
index 440de6b..57c1d6a 100644 (file)
@@ -44,4 +44,4 @@ install-examples:
 install-docs:
 
 clean distclean realclean:
-               rm -f $(TARGETS)
+               rm -f $(TARGETS) *.o