From 0f49b66e64b3a0a81e1c572af72b45cdc8b452d4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 29 Sep 2011 15:37:31 -0400 Subject: setting OPTIMIZE could in theory lead to breakage, so make it v9 --- Debian/Debhelper/Buildsystem/perl_makemaker.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Debian') diff --git a/Debian/Debhelper/Buildsystem/perl_makemaker.pm b/Debian/Debhelper/Buildsystem/perl_makemaker.pm index a9c7fac1..722a12a3 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}"; } -- cgit v1.2.3