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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B6BE4158095 for ; Sat, 6 Aug 2022 23:53:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4AE1E0DF6; Sat, 6 Aug 2022 23:53:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4C302E0E04 for ; Sat, 6 Aug 2022 23:53:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 308A5340F95 for ; Sat, 6 Aug 2022 23:53:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82FC4561 for ; Sat, 6 Aug 2022 23:53:13 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1659829896.75cac060d43476807e769eb8f21dfeeb2c54d721.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/stp/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/stp/stp-2.3.3-r1.ebuild X-VCS-Directories: sci-mathematics/stp/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 75cac060d43476807e769eb8f21dfeeb2c54d721 X-VCS-Branch: master Date: Sat, 6 Aug 2022 23:53:13 +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: 996dfb49-5269-4cdb-ad79-9684bf77891b X-Archives-Hash: 0b01a97385ac1b1cf3a18bda3b50a3e1 commit: 75cac060d43476807e769eb8f21dfeeb2c54d721 Author: Maciej Barć gentoo org> AuthorDate: Sat Aug 6 23:48:15 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sat Aug 6 23:51:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75cac060 sci-mathematics/stp: filter LTO (ODR) Closes: https://bugs.gentoo.org/863263 Signed-off-by: Maciej Barć gentoo.org> sci-mathematics/stp/stp-2.3.3-r1.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/stp/stp-2.3.3-r1.ebuild b/sci-mathematics/stp/stp-2.3.3-r1.ebuild index 367251ea5f8f..67fbceb1ce9d 100644 --- a/sci-mathematics/stp/stp-2.3.3-r1.ebuild +++ b/sci-mathematics/stp/stp-2.3.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ GT_H=2ad076167a676e3ed62f90b754b30fac5caa1f88 PYTHON_COMPAT=( python3_{8,9,10} ) -inherit python-single-r1 cmake +inherit flag-o-matic python-single-r1 cmake DESCRIPTION="Simple Theorem Prover, an efficient SMT solver for bitvectors" HOMEPAGE="https://stp.github.io/" @@ -71,12 +71,16 @@ src_prepare() { } src_configure() { + # -Werror=odr warnings, bug #863263 + filter-lto + local CMAKE_BUILD_TYPE if use debug ; then CMAKE_BUILD_TYPE=Debug else CMAKE_BUILD_TYPE=Release fi + local mycmakeargs=( -DNOCRYPTOMINISAT=$(usex cryptominisat 'OFF' 'ON') # double negation -DENABLE_PYTHON_INTERFACE=$(usex python)