summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-09-29 15:37:31 -0400
committerJoey Hess <joey@kitenet.net>2011-09-29 15:37:31 -0400
commit0f49b66e64b3a0a81e1c572af72b45cdc8b452d4 (patch)
tree2d899e6139dcfc43ce766c66422c15c6da4ebb6b /Debian
parent6bc4bc8e51934a6dad35e12dbf41b3107d22a252 (diff)
setting OPTIMIZE could in theory lead to breakage, so make it v9
Diffstat (limited to 'Debian')
-rw-r--r--Debian/Debhelper/Buildsystem/perl_makemaker.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Buildsystem/perl_makemaker.pm b/Debian/Debhelper/Buildsystem/perl_makemaker.pm
index a9c7fac..722a12a 100644
--- a/Debian/Debhelper/Buildsystem/perl_makemaker.pm
+++ b/Debian/Debhelper/Buildsystem/perl_makemaker.pm
@@ -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}";
}