summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-15 18:53:38 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-15 18:54:55 +0200
commit83f68c9d711ea72f0461cb79f2965ee168314030 (patch)
tree6a20c4975a69db212dfc9c82878934c861503734 /sys-devel/clang
parentsys-devel/llvm: Remove obsolete -flto filtering from live ebuilds (diff)
downloadgentoo-83f68c9d711ea72f0461cb79f2965ee168314030.tar.gz
gentoo-83f68c9d711ea72f0461cb79f2965ee168314030.tar.bz2
gentoo-83f68c9d711ea72f0461cb79f2965ee168314030.zip
sys-devel/clang: Remove obsolete -flto filtering from live ebuilds
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel/clang')
-rw-r--r--sys-devel/clang/clang-16.0.4.9999.ebuild7
-rw-r--r--sys-devel/clang/clang-17.0.0.9999.ebuild7
2 files changed, 6 insertions, 8 deletions
diff --git a/sys-devel/clang/clang-16.0.4.9999.ebuild b/sys-devel/clang/clang-16.0.4.9999.ebuild
index 319b5960722a..76f5d288b711 100644
--- a/sys-devel/clang/clang-16.0.4.9999.ebuild
+++ b/sys-devel/clang/clang-16.0.4.9999.ebuild
@@ -4,8 +4,9 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake llvm llvm.org multilib multilib-minimal \
- prefix python-single-r1 toolchain-funcs flag-o-matic
+
+inherit cmake llvm llvm.org multilib multilib-minimal
+inherit prefix python-single-r1 toolchain-funcs
DESCRIPTION="C language family frontend for LLVM"
HOMEPAGE="https://llvm.org/"
@@ -254,8 +255,6 @@ get_distribution_components() {
}
multilib_src_configure() {
- tc-is-gcc && filter-lto # GCC miscompiles LLVM, bug #873670
-
local mycmakeargs=(
-DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}")
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}"
diff --git a/sys-devel/clang/clang-17.0.0.9999.ebuild b/sys-devel/clang/clang-17.0.0.9999.ebuild
index 2813c02d3a12..e22838875809 100644
--- a/sys-devel/clang/clang-17.0.0.9999.ebuild
+++ b/sys-devel/clang/clang-17.0.0.9999.ebuild
@@ -4,8 +4,9 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake llvm llvm.org multilib multilib-minimal \
- prefix python-single-r1 toolchain-funcs flag-o-matic
+
+inherit cmake llvm llvm.org multilib multilib-minimal
+inherit prefix python-single-r1 toolchain-funcs
DESCRIPTION="C language family frontend for LLVM"
HOMEPAGE="https://llvm.org/"
@@ -252,8 +253,6 @@ get_distribution_components() {
}
multilib_src_configure() {
- tc-is-gcc && filter-lto # GCC miscompiles LLVM, bug #873670
-
local mycmakeargs=(
-DDEFAULT_SYSROOT=$(usex prefix-guest "" "${EPREFIX}")
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}"