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