[PATCH] Temporarily work around an internal compiler error in Devel::PPPort on ia64+gcc-4.3. (Closes: #548943)

Niko Tyni ntyni at debian.org
Tue Sep 29 19:26:22 UTC 2009


---
 ext/Devel-PPPort/Makefile.PL |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ext/Devel-PPPort/Makefile.PL b/ext/Devel-PPPort/Makefile.PL
index 67eebc1..f1ef7a2 100644
--- a/ext/Devel-PPPort/Makefile.PL
+++ b/ext/Devel-PPPort/Makefile.PL
@@ -75,6 +75,13 @@ sub configure
     push @moreopts, INSTALLDIRS => ($] >= 5.007003 ? 'perl' : 'site');
   }
 
+
+  # temporary Debian hack, see http://bugs.debian.org/548943
+  require Config;
+  if ($Config::Config{archname} =~ /^ia64/) {
+    push @moreopts, OPTIMIZE => '-g -O0';
+  }
+
   if ($opt{'apicheck'}) {
     $PL_FILES{'apicheck_c.PL'} = 'apicheck.c';
     push @C_FILES, qw{ apicheck.c };
-- 
1.6.4.3


--jI8keyz6grp/JLjh--






More information about the Perl-maintainers mailing list