commit:     2daf17068db59af5bc31478b7e5e2343e84b04b8
Author:     Eddy Hsu <eddyhsu <AT> google <DOT> com>
AuthorDate: Wed Dec 22 01:30:15 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 24 07:41:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2daf1706

dev-util/rt-tests: Specify C compiler in install

The ostype and machinetype are retrieved by `$(CC) -dumpmachine`. We
need to specify it also in the `src_install`.

Signed-off-by: Eddy Hsu <eddyhsu <AT> google.com>
Closes: https://github.com/gentoo/gentoo/pull/23462
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/rt-tests/rt-tests-2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/rt-tests/rt-tests-2.2.ebuild 
b/dev-util/rt-tests/rt-tests-2.2.ebuild
index 93d7da4245ba..247753110450 100644
--- a/dev-util/rt-tests/rt-tests-2.2.ebuild
+++ b/dev-util/rt-tests/rt-tests-2.2.ebuild
@@ -32,7 +32,7 @@ src_compile() {
 }
 
 src_install() {
-       emake prefix=/usr DESTDIR="${ED}" install
+       emake CC="$(tc-getCC)" prefix=/usr DESTDIR="${ED}" install
        python_fix_shebang "${ED}"
        python_optimize
 }

Reply via email to