Gentoo Archives: gentoo-commits

From: Keri Harris <keri@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/mercury/
Date: Mon, 14 Sep 2020 16:09:56
Message-Id: 1600099780.b0f66d83976eedc5f6dc6a37c2296a95d063f9c8.keri@gentoo
1 commit: b0f66d83976eedc5f6dc6a37c2296a95d063f9c8
2 Author: Keri Harris <keri <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 14 16:09:21 2020 +0000
4 Commit: Keri Harris <keri <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 14 16:09:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0f66d83
7
8 dev-lang/mercury: avoid ICE when compiling Mercury trail grades
9
10 Package-Manager: Portage-3.0.4, Repoman-2.3.22
11 Signed-off-by: Keri Harris <keri <AT> gentoo.org>
12
13 dev-lang/mercury/mercury-20.06.ebuild | 5 +++++
14 1 file changed, 5 insertions(+)
15
16 diff --git a/dev-lang/mercury/mercury-20.06.ebuild b/dev-lang/mercury/mercury-20.06.ebuild
17 index 0eb603a4882..3757ae56109 100644
18 --- a/dev-lang/mercury/mercury-20.06.ebuild
19 +++ b/dev-lang/mercury/mercury-20.06.ebuild
20 @@ -68,6 +68,11 @@ src_compile() {
21 echo "EXTRA_LD_LIBFLAGS = ${LDFLAGS}" >> Mmake.params
22 echo "EXTRA_MLFLAGS = --no-strip" >> Mmake.params
23
24 + if use trail; then
25 + echo "CFLAGS-int = -O0" >> Mmake.params
26 + echo "CFLAGS-uint = -O0" >> Mmake.params
27 + fi
28 +
29 echo "EXTRA_LD_LIBFLAGS += -Wl,-soname=libgc.so" >> boehm_gc/Mmake.boehm_gc.params
30 echo "EXTRA_LD_LIBFLAGS += -Wl,-soname=libmer_rt.so" >> runtime/Mmake.runtime.params
31 echo "EXTRA_LD_LIBFLAGS += -Wl,-soname=libmer_std.so" >> library/Mmake.library.params