Code

rules: Pass CPPFLAGS and CFLAGS as arguments to configure.
authorSebastian Harl <sh@tokkee.org>
Sun, 10 May 2009 18:07:39 +0000 (20:07 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 10 May 2009 18:07:39 +0000 (20:07 +0200)
... instead of setting them in the environment - this is the recommended way.

debian/changelog
debian/rules

index bf87284f03241f4d994804cc475b05e1fd80d232..01a8ba8fc7695fb56531d4dc2a07d7169a30de5b 100644 (file)
@@ -16,11 +16,13 @@ collectd (4.7.0-1) unstable; urgency=low
   * debian/rules:
     - Install collectd-{network,unixsock}.py to /usr/share/doc/collectd/
       examples/.
+    - Pass CPPFLAGS and CFLAGS as arguments to configure instead of setting
+      them in the environment - this is the recommended way.
   * debian/patches:
     - Removed battery_acpi_complain.dpatch - included upstream.
     - Removed ntpd_type_pun_fix.dpatch - included upstream.
 
- -- Sebastian Harl <sh@tokkee.org>  Sun, 10 May 2009 17:22:47 +0200
+ -- Sebastian Harl <sh@tokkee.org>  Sun, 10 May 2009 19:57:25 +0200
 
 collectd (4.6.2-2) unstable; urgency=low
 
index 9e171a6acdb71317a7c1f0d05739744114dcb023..d714cc731c47cb20c0f41e959fec29ff1bf0433d 100755 (executable)
@@ -75,7 +75,7 @@ endif
 
 config.status: configure $(DPATCH_STAMPFN)
        dh_testdir
-       CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" ./configure $(confflags)
+       ./configure $(confflags) CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)"
 
 build: build-stamp