commit: f2e36b71c052cdb86b10bc7c2ed8e7adb9035eff Author: Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me> AuthorDate: Sat Jun 15 05:12:13 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jun 20 17:15:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2e36b71
media-sound/liblc3: respect CC for tests Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me> Closes: https://github.com/gentoo/gentoo/pull/37167 Signed-off-by: Sam James <sam <AT> gentoo.org> media-sound/liblc3/liblc3-1.1.1-r1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/media-sound/liblc3/liblc3-1.1.1-r1.ebuild b/media-sound/liblc3/liblc3-1.1.1-r1.ebuild index 0a29e622ec90..2d0966b78592 100644 --- a/media-sound/liblc3/liblc3-1.1.1-r1.ebuild +++ b/media-sound/liblc3/liblc3-1.1.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} pypy3 ) -inherit python-any-r1 meson-multilib +inherit python-any-r1 toolchain-funcs meson-multilib DESCRIPTION="LC3 is an efficient low latency audio codec" HOMEPAGE="https://github.com/google/liblc3" @@ -50,7 +50,8 @@ multilib_src_configure() { multilib_src_test() { if multilib_is_native_abi; then - V= emake -C "${S}" test CFLAGS:="${CPPFLAGS} ${CFLAGS} -I"$("${EPYTHON}" -c "import numpy;print(numpy.get_include())")"" + V= emake -C "${S}" test CC="$(tc-getCC)" \ + CFLAGS:="${CPPFLAGS} ${CFLAGS} -I"$("${EPYTHON}" -c "import numpy;print(numpy.get_include())")"" else ewarn "Skipping test for non-native ABI: ${ABI}" fi
