Code

rules: Pass CXXFLAGS as arguments to configure.
authorSebastian Harl <sh@tokkee.org>
Sun, 7 Jun 2009 19:44:44 +0000 (21:44 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 7 Jun 2009 19:44:44 +0000 (21:44 +0200)
... instead of setting them in the environment - this is the recommended way.

debian/changelog
debian/rules

index 7370103d9169309d07f1139b9d65f2dcf5d0f1c9..4801f33a0d03e0d8bd08a51265e7561aba4e6e6d 100644 (file)
@@ -20,11 +20,13 @@ pfstools (1.8.1-1) unstable; urgency=low
     - Use dh_install's --fail-missing instead of --list-missing.
     - Explicitly disable all features that are not available to ensure
       consistent builds - currently this is matlab, jpeghdr and gdal.
+    - Pass CXXFLAGS as arguments to configure instead of setting them in the
+      environment - this is the recommended way.
   * debian/control, debian/rules:
     - Use ${octave:Depends} and octave3.0-depends instead of explicitly
       depending on octave3.0.
 
- -- Sebastian Harl <tokkee@debian.org>  Sun, 07 Jun 2009 21:41:14 +0200
+ -- Sebastian Harl <tokkee@debian.org>  Sun, 07 Jun 2009 21:44:02 +0200
 
 pfstools (1.6.4-2) unstable; urgency=low
 
index 06c0f3e1587f8f122dfb4b834c8245ae4087283a..96fccbca557a5669d5cb714972b54b0137970cc4 100755 (executable)
@@ -46,7 +46,7 @@ config.status: configure $(DPATCH_STAMPFN)
                fi \
        done
        
-       CXXFLAGS="$(CXXFLAGS)" ./configure $(confflags)
+       ./configure $(confflags) CXXFLAGS="$(CXXFLAGS)"
 
 build: build-stamp