summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2005-09-22 14:13:36 +0000
committerJohn Mylchreest <johnm@gentoo.org>2005-09-22 14:13:36 +0000
commit7f41fdc268f9bb4cc55664ba948cdb7301efa1ac (patch)
treecae8db44026b6031765bcc2d6e533db4fe6d375a /eclass/linux-mod.eclass
parentFixes bug #103878 (diff)
downloadgentoo-2-7f41fdc268f9bb4cc55664ba948cdb7301efa1ac.tar.gz
gentoo-2-7f41fdc268f9bb4cc55664ba948cdb7301efa1ac.tar.bz2
gentoo-2-7f41fdc268f9bb4cc55664ba948cdb7301efa1ac.zip
Fixes bug #106092
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r--eclass/linux-mod.eclass4
1 files 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}