Gentoo Archives: gentoo-commits

From: "Keri Harris (keri)" <keri@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/mercury/files: mercury-10.04_beta1-ppc-lexer.patch
Date: Sun, 11 Apr 2010 00:21:21
Message-Id: 20100411002118.EF5EB2C04A@corvid.gentoo.org
1 keri 10/04/11 00:21:18
2
3 Added: mercury-10.04_beta1-ppc-lexer.patch
4 Log:
5 Fix ppc computed gotos in lexer library
6 (Portage version: 2.1.7.17/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-lang/mercury/files/mercury-10.04_beta1-ppc-lexer.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mercury/files/mercury-10.04_beta1-ppc-lexer.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mercury/files/mercury-10.04_beta1-ppc-lexer.patch?rev=1.1&content-type=text/plain
13
14 Index: mercury-10.04_beta1-ppc-lexer.patch
15 ===================================================================
16 --- mercury-compiler-10.04-beta.orig/library/Mercury.options 2009-06-12 17:00:26.000000000 +1200
17 +++ mercury-compiler-10.04-beta/library/Mercury.options 2010-04-11 12:14:32.000000000 +1200
18 @@ -89,3 +89,7 @@
19
20 # Work around a problem in the HiPE compiler (as of Erlang R11B5).
21 MCFLAGS-bitmap += --no-erlang-native-code
22 +
23 +ifeq ("$(ARCH)","ppc")
24 +MGNUCFLAGS-lexer += -O0
25 +endif