summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang')
-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