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 6CE15138334 for ; Sun, 9 Sep 2018 14:27:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0841FE0920; Sun, 9 Sep 2018 14:27:58 +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 CF47AE0920 for ; Sun, 9 Sep 2018 14:27:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 AA342340D5F for ; Sun, 9 Sep 2018 14:27:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3E4E38A for ; Sun, 9 Sep 2018 14:27:52 +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: <1536503257.ca5466aefb2f11bea52231abfa0ea7488a3cc057.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-14.01.1.ebuild X-VCS-Directories: dev-lang/mercury/ X-VCS-Committer: keri X-VCS-Committer-Name: Keri Harris X-VCS-Revision: ca5466aefb2f11bea52231abfa0ea7488a3cc057 X-VCS-Branch: master Date: Sun, 9 Sep 2018 14:27:52 +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-Archives-Salt: 357eb1c3-5eff-45b0-9899-6e43caa65a4d X-Archives-Hash: 172eb6f5ccedf197d3d0cbf4964e0c23 commit: ca5466aefb2f11bea52231abfa0ea7488a3cc057 Author: Keri Harris gentoo org> AuthorDate: Sun Sep 9 14:27:11 2018 +0000 Commit: Keri Harris gentoo org> CommitDate: Sun Sep 9 14:27:37 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca5466ae dev-lang/mercury: fixes for x86 grades using global registers Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-lang/mercury/mercury-14.01.1.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-lang/mercury/mercury-14.01.1.ebuild b/dev-lang/mercury/mercury-14.01.1.ebuild index 3b22be993c3..858cefaf244 100644 --- a/dev-lang/mercury/mercury-14.01.1.ebuild +++ b/dev-lang/mercury/mercury-14.01.1.ebuild @@ -75,6 +75,15 @@ src_compile() { echo "EXTRA_LDFLAGS = ${LDFLAGS}" >> Mmake.params echo "EXTRA_MLFLAGS = --no-strip" >> Mmake.params + if use x86; then + echo "CFLAGS-ml_backend.ml_closure_gen = -O0" >> Mmake.params + echo "CFLAGS-ml_backend.ml_unify_gen = -O0" >> Mmake.params + echo "CFLAGS-ml_backend.rtti_to_mlds = -O0" >> Mmake.params + echo "CFLAGS-display_report = -O0" >> Mmake.params + echo "CFLAGS-mercury_ho_call = -O0" >> Mmake.params + echo "CFLAGS-mercury_trace_vars = -O0" >> Mmake.params + fi + # Build Mercury using bootstrap grade emake \ PARALLEL="'${MAKEOPTS}'" \