summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-06-01 05:35:43 +0000
committerMike Frysinger <vapier@gentoo.org>2004-06-01 05:35:43 +0000
commit734c0d9b50a721bc367898654938ef23e1c0f26c (patch)
tree057b1a1c18ec9b734ca70091b3c0ccad8cc651cc /dev-lang/perl
parentarm KEYWORDS (diff)
downloadhistorical-734c0d9b50a721bc367898654938ef23e1c0f26c.tar.gz
historical-734c0d9b50a721bc367898654938ef23e1c0f26c.tar.bz2
historical-734c0d9b50a721bc367898654938ef23e1c0f26c.zip
do not optimize too much on arm
Diffstat (limited to 'dev-lang/perl')
-rw-r--r--dev-lang/perl/perl-5.8.3.ebuild4
-rw-r--r--dev-lang/perl/perl-5.8.4.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/dev-lang/perl/perl-5.8.3.ebuild b/dev-lang/perl/perl-5.8.3.ebuild
index 503e12eab063..4aac7e625bd3 100644
--- a/dev-lang/perl/perl-5.8.3.ebuild
+++ b/dev-lang/perl/perl-5.8.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.3.ebuild,v 1.5 2004/05/31 22:16:26 rac Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.3.ebuild,v 1.6 2004/06/01 05:35:43 vapier Exp $
inherit eutils flag-o-matic gcc
@@ -97,6 +97,8 @@ src_unpack() {
}
src_compile() {
+ # Arm and -O do not mix :)
+ use arm && replace-flags -O? -O1
# Perl has problems compiling with -Os in your flags
replace-flags "-Os" "-O2"
# This flag makes compiling crash in interesting ways
diff --git a/dev-lang/perl/perl-5.8.4.ebuild b/dev-lang/perl/perl-5.8.4.ebuild
index 4457059a7e08..fa2bd035a5c2 100644
--- a/dev-lang/perl/perl-5.8.4.ebuild
+++ b/dev-lang/perl/perl-5.8.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.4.ebuild,v 1.4 2004/05/31 22:16:26 rac Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.4.ebuild,v 1.5 2004/06/01 05:35:43 vapier Exp $
inherit eutils flag-o-matic gcc
@@ -97,6 +97,8 @@ src_unpack() {
}
src_compile() {
+ # Arm and -O do not mix :)
+ use arm && replace-flags -O? -O1
# Perl has problems compiling with -Os in your flags
replace-flags "-Os" "-O2"
# This flag makes compiling crash in interesting ways