]> git.donarmstrong.com Git - debhelper.git/commitdiff
setting OPTIMIZE could in theory lead to breakage, so make it v9
authorJoey Hess <joey@kitenet.net>
Thu, 29 Sep 2011 19:37:31 +0000 (15:37 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 29 Sep 2011 19:37:31 +0000 (15:37 -0400)
Debian/Debhelper/Buildsystem/perl_makemaker.pm
debian/changelog

index a9c7fac1ecc3872f303643d88e4de9e7fb13afdf..722a12a350252adaeb6d7fdb0b4a351cfce33b58 100644 (file)
@@ -46,7 +46,7 @@ sub configure {
        # This prevents  Module::Install from interactive behavior.
        $ENV{PERL_AUTOINSTALL}="--skipdeps";
 
-       if ($ENV{CFLAGS}) {
+       if ($ENV{CFLAGS} && ! compat(8)) {
                push @flags, "OPTIMIZE=$ENV{CFLAGS}";
        }
 
index 1c4f2c94b6791a9c287fc3e15db825fbc2210e1f..c2ec5e0d6700603dafa69f6bbd861f6284cc14bf 100644 (file)
@@ -7,6 +7,8 @@ debhelper (8.9.8) UNRELEASED; urgency=low
   * Clarify description of dh_auto_* -- params. Closes: #642786
   * Mention in debhelper(7) that buildsystem options are typically passed
     to dh. Closes: #643069
+  * perl_makemaker: Pass CFLAGS to Makefile.PL using OPTIMIZE. Closes: #643702
+    (v9 only)
 
  -- Joey Hess <joeyh@debian.org>  Mon, 12 Sep 2011 13:35:52 -0400