commit:     792d9b35c36dbb8ab61ef7765ed5c39dd920a9f1
Author:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 19:30:07 2025 +0000
Commit:     Luca Barbato <lu_zero <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 19:45:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=792d9b35

dev-db/sqlite: Unbreak cross-compilation

Signed-off-by: Luca Barbato <lu_zero <AT> gentoo.org>

 dev-db/sqlite/sqlite-3.49.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/sqlite/sqlite-3.49.0.ebuild 
b/dev-db/sqlite/sqlite-3.49.0.ebuild
index 04ed199f3b1b..12a1086d079a 100644
--- a/dev-db/sqlite/sqlite-3.49.0.ebuild
+++ b/dev-db/sqlite/sqlite-3.49.0.ebuild
@@ -326,9 +326,9 @@ multilib_src_configure() {
        options+=( --soname=legacy )
 
        # https://sqlite.org/forum/forumpost/4f4d06a9f6683bb9
-       tc-export CC
+       tc-export_build_env BUILD_CC
 
-       CC_FOR_BUILD=${CC} econf "${options[@]}"
+       CC_FOR_BUILD=${BUILD_CC} econf "${options[@]}"
 }
 
 multilib_src_compile() {

Reply via email to