Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/
Date: Fri, 29 Jul 2022 18:24:14
Message-Id: 1659119005.04f61962c54e44fd37e34018f7be9bbef663d8dd.gyakovlev@gentoo
1 commit: 04f61962c54e44fd37e34018f7be9bbef663d8dd
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 29 18:16:07 2022 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 29 18:23:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f61962
7
8 dev-lang/rust: filter out -flto flags
9
10 Bug: https://bugs.gentoo.org/862109
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 dev-lang/rust/rust-1.59.0.ebuild | 2 ++
14 dev-lang/rust/rust-1.60.0.ebuild | 2 ++
15 dev-lang/rust/rust-1.61.0-r2.ebuild | 2 ++
16 dev-lang/rust/rust-1.62.0.ebuild | 2 ++
17 dev-lang/rust/rust-1.62.1.ebuild | 2 ++
18 5 files changed, 10 insertions(+)
19
20 diff --git a/dev-lang/rust/rust-1.59.0.ebuild b/dev-lang/rust/rust-1.59.0.ebuild
21 index b4e6eebe900f..c3dfac4c574d 100644
22 --- a/dev-lang/rust/rust-1.59.0.ebuild
23 +++ b/dev-lang/rust/rust-1.59.0.ebuild
24 @@ -258,6 +258,8 @@ src_prepare() {
25 }
26
27 src_configure() {
28 + use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109
29 +
30 local rust_target="" rust_targets="" arch_cflags
31
32 # Collect rust target names to compile standard libs for all ABIs.
33
34 diff --git a/dev-lang/rust/rust-1.60.0.ebuild b/dev-lang/rust/rust-1.60.0.ebuild
35 index 0b2ab02a8e65..1dda442d1071 100644
36 --- a/dev-lang/rust/rust-1.60.0.ebuild
37 +++ b/dev-lang/rust/rust-1.60.0.ebuild
38 @@ -256,6 +256,8 @@ src_prepare() {
39 }
40
41 src_configure() {
42 + use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109
43 +
44 local rust_target="" rust_targets="" arch_cflags
45
46 # Collect rust target names to compile standard libs for all ABIs.
47
48 diff --git a/dev-lang/rust/rust-1.61.0-r2.ebuild b/dev-lang/rust/rust-1.61.0-r2.ebuild
49 index 57d88e14bea0..263edc8ca004 100644
50 --- a/dev-lang/rust/rust-1.61.0-r2.ebuild
51 +++ b/dev-lang/rust/rust-1.61.0-r2.ebuild
52 @@ -259,6 +259,8 @@ src_prepare() {
53 }
54
55 src_configure() {
56 + use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109
57 +
58 local rust_target="" rust_targets="" arch_cflags use_libcxx="false"
59
60 # Collect rust target names to compile standard libs for all ABIs.
61
62 diff --git a/dev-lang/rust/rust-1.62.0.ebuild b/dev-lang/rust/rust-1.62.0.ebuild
63 index 4b8fdf357c6e..8da92fd3854b 100644
64 --- a/dev-lang/rust/rust-1.62.0.ebuild
65 +++ b/dev-lang/rust/rust-1.62.0.ebuild
66 @@ -256,6 +256,8 @@ src_prepare() {
67 }
68
69 src_configure() {
70 + use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109
71 +
72 local rust_target="" rust_targets="" arch_cflags use_libcxx="false"
73
74 # Collect rust target names to compile standard libs for all ABIs.
75
76 diff --git a/dev-lang/rust/rust-1.62.1.ebuild b/dev-lang/rust/rust-1.62.1.ebuild
77 index 5775cd6e8835..35015cb50b61 100644
78 --- a/dev-lang/rust/rust-1.62.1.ebuild
79 +++ b/dev-lang/rust/rust-1.62.1.ebuild
80 @@ -256,6 +256,8 @@ src_prepare() {
81 }
82
83 src_configure() {
84 + use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109
85 +
86 local rust_target="" rust_targets="" arch_cflags use_libcxx="false"
87
88 # Collect rust target names to compile standard libs for all ABIs.