From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1645099-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 5840E1582ED
	for <garchives@archives.gentoo.org>; Thu, 20 Jun 2024 17:16:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 99979E2A5F;
	Thu, 20 Jun 2024 17:16:03 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 78B68E2A5F
	for <gentoo-commits@lists.gentoo.org>; Thu, 20 Jun 2024 17:16:03 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 92246335CB9
	for <gentoo-commits@lists.gentoo.org>; Thu, 20 Jun 2024 17:16:02 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3330B1D25
	for <gentoo-commits@lists.gentoo.org>; Thu, 20 Jun 2024 17:16:01 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1718903742.f2e36b71c052cdb86b10bc7c2ed8e7adb9035eff.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/liblc3/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-sound/liblc3/liblc3-1.1.1-r1.ebuild
X-VCS-Directories: media-sound/liblc3/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: f2e36b71c052cdb86b10bc7c2ed8e7adb9035eff
X-VCS-Branch: master
Date: Thu, 20 Jun 2024 17:16:01 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 5358d425-d284-495f-8824-d4421ad40d40
X-Archives-Hash: e3905ac2e2d0f3a8a2462ed710bbcc42

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