Files
poky/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff
Nitin A Kamble 345de20815 perl-5.12.2: use of PERLHOSTLIB var fix
PERLHOSTLIB var is used to build target perl. It let perl use the native
perl .so module files at the time of compilation of target perl.

These changes to perl make the PERLHOSTLIB variable also useful for
building perl modules to use native .so perl module.

(From OE-Core rev: f4d51e63c0df777bbcbe9ad160eb3ba41ae74c6e)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-24 22:50:36 +01:00

35 lines
795 B
Diff

Upstream-Status:Inappropriate [debian patch]
From: Niko Tyni <ntyni@debian.org>
Description: Downgrade the optimization of sv.c on arm due to a gcc-4.4 bug
Bug-Debian: http://bugs.debian.org/580334
Regression from gcc-4.3, not reported yet.
perl -e '"-2" =~ /(.+)/; @foo=(); push @foo, $_ for $1..undef; print @foo ? "ok\n" : "not ok\n"'
---
cflags.SH | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/cflags.SH b/cflags.SH
index a5d71b9..6914ba6 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -312,7 +312,11 @@ for file do
regexec) ;;
run) ;;
scope) ;;
- sv) ;;
+ sv)
+ case $archname in
+ arm-*|armeb-*)
+ optimize=-O0;;
+ esac;;
taint) ;;
toke) ;;
universal) ;;
--
tg: (c823880..) debian/arm_optim (depends on: upstream)