commit:     9af9de5448421f33f597dd4da8d51637f058698e
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 13:34:29 2021 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 13:34:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af9de54

net-misc/realtek-r8152: support building with non default CC.

Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild 
b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
index 59f0e80e1b9..ac2d53b76ca 100644
--- a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
+++ b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
@@ -37,7 +37,7 @@ pkg_setup() {
        linux-mod_pkg_setup
 
        BUILD_TARGETS="modules"
-       BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
+       BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERNELDIR=${KERNEL_DIR}"
 }
 
 src_install() {

Reply via email to