From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A2D2D138359 for ; Mon, 14 Sep 2020 16:09:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5CC9E0C1A; Mon, 14 Sep 2020 16:09:55 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BAB51E0C1A for ; Mon, 14 Sep 2020 16:09:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DBE933402FE for ; Mon, 14 Sep 2020 16:09:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 618212EE for ; Mon, 14 Sep 2020 16:09:53 +0000 (UTC) From: "Keri Harris" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Keri Harris" Message-ID: <1600099780.b0f66d83976eedc5f6dc6a37c2296a95d063f9c8.keri@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/mercury/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/mercury/mercury-20.06.ebuild X-VCS-Directories: dev-lang/mercury/ X-VCS-Committer: keri X-VCS-Committer-Name: Keri Harris X-VCS-Revision: b0f66d83976eedc5f6dc6a37c2296a95d063f9c8 X-VCS-Branch: master Date: Mon, 14 Sep 2020 16:09:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9706542b-c970-4b41-a4e7-7ca24b0080e8 X-Archives-Hash: bbb23ecd646f19a90e4e78db3274cde6 commit: b0f66d83976eedc5f6dc6a37c2296a95d063f9c8 Author: Keri Harris gentoo org> AuthorDate: Mon Sep 14 16:09:21 2020 +0000 Commit: Keri Harris gentoo org> CommitDate: Mon Sep 14 16:09:40 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0f66d83 dev-lang/mercury: avoid ICE when compiling Mercury trail grades Package-Manager: Portage-3.0.4, Repoman-2.3.22 Signed-off-by: Keri Harris gentoo.org> dev-lang/mercury/mercury-20.06.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-lang/mercury/mercury-20.06.ebuild b/dev-lang/mercury/mercury-20.06.ebuild index 0eb603a4882..3757ae56109 100644 --- a/dev-lang/mercury/mercury-20.06.ebuild +++ b/dev-lang/mercury/mercury-20.06.ebuild @@ -68,6 +68,11 @@ src_compile() { echo "EXTRA_LD_LIBFLAGS = ${LDFLAGS}" >> Mmake.params echo "EXTRA_MLFLAGS = --no-strip" >> Mmake.params + if use trail; then + echo "CFLAGS-int = -O0" >> Mmake.params + echo "CFLAGS-uint = -O0" >> Mmake.params + fi + echo "EXTRA_LD_LIBFLAGS += -Wl,-soname=libgc.so" >> boehm_gc/Mmake.boehm_gc.params echo "EXTRA_LD_LIBFLAGS += -Wl,-soname=libmer_rt.so" >> runtime/Mmake.runtime.params echo "EXTRA_LD_LIBFLAGS += -Wl,-soname=libmer_std.so" >> library/Mmake.library.params