Code

rules: Pass CFLAGS as arguments to configure.
authorSebastian Harl <sh@tokkee.org>
Sat, 6 Jun 2009 18:18:19 +0000 (20:18 +0200)
committerSebastian Harl <sh@tokkee.org>
Sat, 6 Jun 2009 18:18:19 +0000 (20:18 +0200)
... instead of setting them in the environment - this is the recommended way.

debian/changelog
debian/rules

index f28c665dc8ffd69b6e57d77ea874e4f9830d13f5..965da460ef89daab9a3fa60cd062cf79224fba6e 100644 (file)
@@ -8,6 +8,8 @@ liboping (1.1.2-1) unstable; urgency=low
       avr32, thanks to Bradley Smith for reporting this (Closes: #529460).
     - Use dpatch.
     - Use dh_install's --fail-missing instead of --list-missing.
+    - Pass CFLAGS as arguments to configure instead of setting them in the
+      environment - this is the recommended way.
   * debian/control:
     - Use ${binary:Version} instead of ${Source-Version}.
     - Updated Standards-Version to 3.8.1.
@@ -30,7 +32,7 @@ liboping (1.1.2-1) unstable; urgency=low
   * debian/liboping0.shlibs:
     - Updated version to >= 1.1.2.
 
- -- Sebastian Harl <tokkee@debian.org>  Sat, 06 Jun 2009 20:14:02 +0200
+ -- Sebastian Harl <tokkee@debian.org>  Sat, 06 Jun 2009 20:17:35 +0200
 
 liboping (0.3.5-1) unstable; urgency=low
 
index e1e3045523bfc12f6c6e2f7808c5a0da5618b73d..eec0a6d84a64631aaabd137572dc6ce1adadd97f 100755 (executable)
@@ -35,12 +35,13 @@ config.status: configure $(DPATCH_STAMPFN)
                ln -s /usr/share/misc/$$file .; \
        done
        
-       CFLAGS="$(CFLAGS)" ./configure \
+       ./configure \
                        --host=$(DEB_HOST_GNU_TYPE) \
                        --build=$(DEB_BUILD_GNU_TYPE) \
                        --prefix=/usr \
                        --mandir=\$${prefix}/share/man \
-                       --with-perl-bindings="INSTALLDIRS=vendor"
+                       --with-perl-bindings="INSTALLDIRS=vendor" \
+                       CFLAGS="$(CFLAGS)"
 
 build: build-stamp