From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E30F41580E0 for ; Wed, 29 Jan 2025 21:28:22 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id CF8EF3430AB for ; Wed, 29 Jan 2025 21:28:22 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C9D281103B6; Wed, 29 Jan 2025 21:28:21 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id BF1A21103B6 for ; Wed, 29 Jan 2025 21:28:21 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7486D342FDE for ; Wed, 29 Jan 2025 21:28:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B0461979 for ; Wed, 29 Jan 2025 21:28:20 +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: <1738186051.4d481ef1b25ffa1869427d75fe30818f14e53a22.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/ X-VCS-Repository: repo/gentoo X-VCS-Files: llvm-core/clang-common/clang-common-15.0.7-r10.ebuild llvm-core/clang-common/metadata.xml X-VCS-Directories: llvm-core/clang-common/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4d481ef1b25ffa1869427d75fe30818f14e53a22 X-VCS-Branch: master Date: Wed, 29 Jan 2025 21:28:20 +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: cd9bf85d-aa3e-47fb-a2d6-259d9ad00ac2 X-Archives-Hash: 5395bf2c16e6e448983b58046cd71ce0 commit: 4d481ef1b25ffa1869427d75fe30818f14e53a22 Author: Sam James gentoo org> AuthorDate: Wed Jan 29 21:26:54 2025 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jan 29 21:27:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d481ef1 llvm-core/clang-common: drop obsolete USE=stricter We dropped it from newer Clangs already, there's no point in keeping this here and may even confuse some people looking at `equery u` or whatever. It served its purpose, as these things are default out of the box now where appropriate. We've also had some people asking about why it's gone etc so removing it avoids that confusion. Signed-off-by: Sam James gentoo.org> .../clang-common/clang-common-15.0.7-r10.ebuild | 20 ++------------------ llvm-core/clang-common/metadata.xml | 1 - 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/llvm-core/clang-common/clang-common-15.0.7-r10.ebuild b/llvm-core/clang-common/clang-common-15.0.7-r10.ebuild index e0f714bebce1..50b8d4b18639 100644 --- a/llvm-core/clang-common/clang-common-15.0.7-r10.ebuild +++ b/llvm-core/clang-common/clang-common-15.0.7-r10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ SLOT="0" KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" IUSE=" default-compiler-rt default-libcxx default-lld llvm-libunwind - hardened stricter + hardened " PDEPEND=" @@ -146,22 +146,6 @@ src_install() { EOF fi - if use stricter; then - newins - gentoo-stricter.cfg <<-EOF - # This file increases the strictness of older clang versions - # to match the newest upstream version. - - # clang-16 defaults - -Werror=implicit-function-declaration - -Werror=implicit-int - -Werror=incompatible-function-pointer-types - EOF - - cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die - @gentoo-stricter.cfg - EOF - fi - local tool for tool in clang{,++,-cpp}; do newins - "${tool}.cfg" <<-EOF diff --git a/llvm-core/clang-common/metadata.xml b/llvm-core/clang-common/metadata.xml index a4b5da44a19b..20d001720e1f 100644 --- a/llvm-core/clang-common/metadata.xml +++ b/llvm-core/clang-common/metadata.xml @@ -28,6 +28,5 @@ what you're doing. Use lld as the default linker for clang - Default to stricter behavior known from newer clang versions, turning more warnings into errors