summaryrefslogtreecommitdiff
path: root/llvm-core/clang-common/clang-common-15.0.7-r10.ebuild
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-01-29 21:26:54 +0000
committerSam James <sam@gentoo.org>2025-01-29 21:27:31 +0000
commit4d481ef1b25ffa1869427d75fe30818f14e53a22 (patch)
treeb9ef11d6c7e89689475fa9f60ba95204bf8f9a60 /llvm-core/clang-common/clang-common-15.0.7-r10.ebuild
parent4e94f11a0cbff6bf7328f2969543e19540438faf (diff)
downloadgentoo-4d481ef1b25ffa1869427d75fe30818f14e53a22.tar.gz
gentoo-4d481ef1b25ffa1869427d75fe30818f14e53a22.tar.bz2
gentoo-4d481ef1b25ffa1869427d75fe30818f14e53a22.zip
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 <sam@gentoo.org>
Diffstat (limited to 'llvm-core/clang-common/clang-common-15.0.7-r10.ebuild')
-rw-r--r--llvm-core/clang-common/clang-common-15.0.7-r10.ebuild20
1 files changed, 2 insertions, 18 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