summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2010-04-19 17:43:17 +0000
committerRaúl Porcel <armin76@gentoo.org>2010-04-19 17:43:17 +0000
commit1fb86dea43943cb6f279d456ed29c5c4ffb2b91e (patch)
treea7facc7a4bf7e019d867385016f29e8b97c16430 /dev-lang/ocaml
parentSet properly the supported python version. By arfrever. Drop jabber useflag n... (diff)
downloadgentoo-2-1fb86dea43943cb6f279d456ed29c5c4ffb2b91e.tar.gz
gentoo-2-1fb86dea43943cb6f279d456ed29c5c4ffb2b91e.tar.bz2
gentoo-2-1fb86dea43943cb6f279d456ed29c5c4ffb2b91e.zip
Force -O0 on arm
(Portage version: 2.1.7.17/cvs/Linux ia64)
Diffstat (limited to 'dev-lang/ocaml')
-rw-r--r--dev-lang/ocaml/ChangeLog6
-rw-r--r--dev-lang/ocaml/ocaml-3.10.2.ebuild6
-rw-r--r--dev-lang/ocaml/ocaml-3.11.2.ebuild4
3 files changed, 12 insertions, 4 deletions
diff --git a/dev-lang/ocaml/ChangeLog b/dev-lang/ocaml/ChangeLog
index 227ad7fd3f0b..3101ede9e7b1 100644
--- a/dev-lang/ocaml/ChangeLog
+++ b/dev-lang/ocaml/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/ocaml
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.176 2010/04/12 06:34:10 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.177 2010/04/19 17:43:17 armin76 Exp $
+
+ 19 Apr 2010; Raúl Porcel <armin76@gentoo.org> ocaml-3.10.2.ebuild,
+ ocaml-3.11.2.ebuild:
+ Force -O0 on arm
12 Apr 2010; Alexis Ballier <aballier@gentoo.org> -ocaml-3.11.1.ebuild:
remove old
diff --git a/dev-lang/ocaml/ocaml-3.10.2.ebuild b/dev-lang/ocaml/ocaml-3.10.2.ebuild
index 18d928ee8405..f0fbfc742d5f 100644
--- a/dev-lang/ocaml/ocaml-3.10.2.ebuild
+++ b/dev-lang/ocaml/ocaml-3.10.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.10.2.ebuild,v 1.16 2009/08/02 12:19:49 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.10.2.ebuild,v 1.17 2010/04/19 17:43:17 armin76 Exp $
EAPI="1"
@@ -72,6 +72,8 @@ src_compile() {
# It doesn't compile on alpha without this LDFLAGS
use alpha && append-ldflags "-Wl,--no-relax"
+ # Fails to build on arm if >=O0 is used
+ use arm && replace-flags "-O?" -O0
use tk || myconf="${myconf} -no-tk"
use ncurses || myconf="${myconf} -no-curses"
diff --git a/dev-lang/ocaml/ocaml-3.11.2.ebuild b/dev-lang/ocaml/ocaml-3.11.2.ebuild
index 948c8511599d..da644e60cb12 100644
--- a/dev-lang/ocaml/ocaml-3.11.2.ebuild
+++ b/dev-lang/ocaml/ocaml-3.11.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.11.2.ebuild,v 1.1 2010/01/20 18:42:48 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.11.2.ebuild,v 1.2 2010/04/19 17:43:17 armin76 Exp $
EAPI="1"
@@ -57,6 +57,8 @@ src_compile() {
# It doesn't compile on alpha without this LDFLAGS
use alpha && append-ldflags "-Wl,--no-relax"
+ # Fails to build on arm if >O0 is used
+ use arm && replace-flags "-O?" -O0
use tk || myconf="${myconf} -no-tk"
use ncurses || myconf="${myconf} -no-curses"