diff options
author | Keri Harris <keri@gentoo.org> | 2010-04-11 00:21:19 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2010-04-11 00:21:19 +0000 |
commit | c2de3b7c9cad5aee0a7b398f776bc68edaa98095 (patch) | |
tree | b8c96a08ebd2dbd012cf42ca4b2e955367475148 /dev-lang/mercury/files | |
parent | version bump (diff) | |
download | gentoo-2-c2de3b7c9cad5aee0a7b398f776bc68edaa98095.tar.gz gentoo-2-c2de3b7c9cad5aee0a7b398f776bc68edaa98095.tar.bz2 gentoo-2-c2de3b7c9cad5aee0a7b398f776bc68edaa98095.zip |
Fix ppc computed gotos in lexer library
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/mercury/files')
-rw-r--r-- | dev-lang/mercury/files/mercury-10.04_beta1-ppc-lexer.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-lang/mercury/files/mercury-10.04_beta1-ppc-lexer.patch b/dev-lang/mercury/files/mercury-10.04_beta1-ppc-lexer.patch new file mode 100644 index 000000000000..545278973610 --- /dev/null +++ b/dev-lang/mercury/files/mercury-10.04_beta1-ppc-lexer.patch @@ -0,0 +1,10 @@ +--- mercury-compiler-10.04-beta.orig/library/Mercury.options 2009-06-12 17:00:26.000000000 +1200 ++++ mercury-compiler-10.04-beta/library/Mercury.options 2010-04-11 12:14:32.000000000 +1200 +@@ -89,3 +89,7 @@ + + # Work around a problem in the HiPE compiler (as of Erlang R11B5). + MCFLAGS-bitmap += --no-erlang-native-code ++ ++ifeq ("$(ARCH)","ppc") ++MGNUCFLAGS-lexer += -O0 ++endif |