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 36529158094 for ; Mon, 15 Aug 2022 00:57:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 613AEE09C7; Mon, 15 Aug 2022 00:56:59 +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 454A7E09C7 for ; Mon, 15 Aug 2022 00:56:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1B02D3411F5 for ; Mon, 15 Aug 2022 00:56:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99B6555B for ; Mon, 15 Aug 2022 00:56:56 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1660524960.602c311c58d4de57d2cc6ee34219f439b0c5d766.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cmake/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/cmake/cmake-3.24.0.ebuild dev-util/cmake/cmake-9999.ebuild X-VCS-Directories: dev-util/cmake/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 602c311c58d4de57d2cc6ee34219f439b0c5d766 X-VCS-Branch: master Date: Mon, 15 Aug 2022 00:56:56 +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: c2211971-178d-4fd0-9564-4d570cb771ef X-Archives-Hash: 85a0fcc142c18416dcc9ebbcdb7e1f27 commit: 602c311c58d4de57d2cc6ee34219f439b0c5d766 Author: Sam James gentoo org> AuthorDate: Mon Aug 15 00:53:15 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Aug 15 00:56:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=602c311c dev-util/cmake: filter LTO (ODR) Closes: https://bugs.gentoo.org/858335 Signed-off-by: Sam James gentoo.org> dev-util/cmake/cmake-3.24.0.ebuild | 4 ++++ dev-util/cmake/cmake-9999.ebuild | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/dev-util/cmake/cmake-3.24.0.ebuild b/dev-util/cmake/cmake-3.24.0.ebuild index f31888a13431..3b075816e4cf 100644 --- a/dev-util/cmake/cmake-3.24.0.ebuild +++ b/dev-util/cmake/cmake-3.24.0.ebuild @@ -192,6 +192,10 @@ src_configure() { # Fix linking on Solaris [[ ${CHOST} == *-solaris* ]] && append-ldflags -lsocket -lnsl + # ODR warnings, bug #858335 + # https://gitlab.kitware.com/cmake/cmake/-/issues/20740 + filter-lto + local mycmakeargs=( -DCMAKE_USE_SYSTEM_LIBRARIES=ON -DCMAKE_DOC_DIR=/share/doc/${PF} diff --git a/dev-util/cmake/cmake-9999.ebuild b/dev-util/cmake/cmake-9999.ebuild index f31888a13431..3b075816e4cf 100644 --- a/dev-util/cmake/cmake-9999.ebuild +++ b/dev-util/cmake/cmake-9999.ebuild @@ -192,6 +192,10 @@ src_configure() { # Fix linking on Solaris [[ ${CHOST} == *-solaris* ]] && append-ldflags -lsocket -lnsl + # ODR warnings, bug #858335 + # https://gitlab.kitware.com/cmake/cmake/-/issues/20740 + filter-lto + local mycmakeargs=( -DCMAKE_USE_SYSTEM_LIBRARIES=ON -DCMAKE_DOC_DIR=/share/doc/${PF}