From 760030c332bb988aeb1943f4bf6ac953a0b11ce1 Mon Sep 17 00:00:00 2001 From: John Mylchreest Date: Thu, 22 Sep 2005 14:13:36 +0000 Subject: [PATCH] Fixes bug #106092 --- eclass/linux-mod.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index d8025a8238a5..91165975bf95 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.51 2005/08/22 12:12:10 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.52 2005/09/22 14:13:36 johnm Exp $ # Description: This eclass is used to interface with linux-info in such a way # to provide the functionality required and initial functions @@ -426,7 +426,7 @@ linux-mod_pkg_setup() { linux-mod_src_compile() { local modulename libdir srcdir objdir i n myARCH="${ARCH}" - unset ARCH + ARCH="$(tc-arch-kernel)" BUILD_TARGETS=${BUILD_TARGETS:-clean module} -- 2.26.2