summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/mercury/files/mercury-10.04_beta1-ppc-lexer.patch')
-rw-r--r--dev-lang/mercury/files/mercury-10.04_beta1-ppc-lexer.patch16
1 files changed, 9 insertions, 7 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
index 545278973610..15609787af10 100644
--- a/dev-lang/mercury/files/mercury-10.04_beta1-ppc-lexer.patch
+++ b/dev-lang/mercury/files/mercury-10.04_beta1-ppc-lexer.patch
@@ -1,10 +1,12 @@
---- 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
-+
+--- mercury-compiler-10.04-beta.orig/library/Mmakefile 2009-11-05 14:59:45.000000000 +1300
++++ mercury-compiler-10.04-beta/library/Mmakefile 2010-04-25 19:27:49.000000000 +1200
+@@ -37,6 +37,9 @@
+ # Module-specific options should go in Mercury.options so they
+ # can be found by `mmc --make'.
+ include Mercury.options
+ifeq ("$(ARCH)","ppc")
+MGNUCFLAGS-lexer += -O0
+endif
+
+ MERCURY_MAIN_MODULES = mer_std
+