Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rt-tests/
Date: Fri, 24 Dec 2021 07:41:55
Message-Id: 1640331683.2daf17068db59af5bc31478b7e5e2343e84b04b8.sam@gentoo
1 commit: 2daf17068db59af5bc31478b7e5e2343e84b04b8
2 Author: Eddy Hsu <eddyhsu <AT> google <DOT> com>
3 AuthorDate: Wed Dec 22 01:30:15 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 24 07:41:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2daf1706
7
8 dev-util/rt-tests: Specify C compiler in install
9
10 The ostype and machinetype are retrieved by `$(CC) -dumpmachine`. We
11 need to specify it also in the `src_install`.
12
13 Signed-off-by: Eddy Hsu <eddyhsu <AT> google.com>
14 Closes: https://github.com/gentoo/gentoo/pull/23462
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 dev-util/rt-tests/rt-tests-2.2.ebuild | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/dev-util/rt-tests/rt-tests-2.2.ebuild b/dev-util/rt-tests/rt-tests-2.2.ebuild
21 index 93d7da4245ba..247753110450 100644
22 --- a/dev-util/rt-tests/rt-tests-2.2.ebuild
23 +++ b/dev-util/rt-tests/rt-tests-2.2.ebuild
24 @@ -32,7 +32,7 @@ src_compile() {
25 }
26
27 src_install() {
28 - emake prefix=/usr DESTDIR="${ED}" install
29 + emake CC="$(tc-getCC)" prefix=/usr DESTDIR="${ED}" install
30 python_fix_shebang "${ED}"
31 python_optimize
32 }