summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.12.3/debian/devel-ppport-ia64-optim.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3/debian/devel-ppport-ia64-optim.diff')
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.3/debian/devel-ppport-ia64-optim.diff34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/debian/devel-ppport-ia64-optim.diff b/meta/recipes-devtools/perl/perl-5.12.3/debian/devel-ppport-ia64-optim.diff
new file mode 100644
index 0000000000..e57a31577b
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.3/debian/devel-ppport-ia64-optim.diff
@@ -0,0 +1,34 @@
1Upstream-Status:Inappropriate [debian patch]
2
3From: Niko Tyni <ntyni@debian.org>
4Subject: Work around an ICE on ia64
5Closes: 548943
6
7Temporarily work around an internal compiler error in Devel::PPPort
8on ia64+gcc-4.3.
9
10
11---
12 cpan/Devel-PPPort/Makefile.PL | 7 +++++++
13 1 files changed, 7 insertions(+), 0 deletions(-)
14
15diff --git a/cpan/Devel-PPPort/Makefile.PL b/cpan/Devel-PPPort/Makefile.PL
16index 67eebc1..f1ef7a2 100644
17--- a/cpan/Devel-PPPort/Makefile.PL
18+++ b/cpan/Devel-PPPort/Makefile.PL
19@@ -75,6 +75,13 @@ sub configure
20 push @moreopts, INSTALLDIRS => ($] >= 5.007003 ? 'perl' : 'site');
21 }
22
23+
24+ # temporary Debian hack, see http://bugs.debian.org/548943
25+ require Config;
26+ if ($Config::Config{archname} =~ /^ia64/) {
27+ push @moreopts, OPTIMIZE => '-g -O0';
28+ }
29+
30 if ($opt{'apicheck'}) {
31 $PL_FILES{'apicheck_c.PL'} = 'apicheck.c';
32 push @C_FILES, qw{ apicheck.c };
33--
34tg: (a508b62..) debian/devel-ppport-ia64-optim (depends on: upstream)