summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-02-03 22:40:47 +0000
committerChris White <chriswhite@gentoo.org>2005-02-03 22:40:47 +0000
commit9fb4753a3312803d78d5b9fbd172e192bdafe4e0 (patch)
tree01bde019f9fece117b32b7b20ffcc50c9ac8adce /eclass
parentFix bug #80298, see changelog for more information (diff)
downloadhistorical-9fb4753a3312803d78d5b9fbd172e192bdafe4e0.tar.gz
historical-9fb4753a3312803d78d5b9fbd172e192bdafe4e0.tar.bz2
historical-9fb4753a3312803d78d5b9fbd172e192bdafe4e0.zip
Last one.. really :|. Making sure /proc/cpuinfo is present before doing anything.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index f181d397cd57..bb0c217248ea 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.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/eutils.eclass,v 1.145 2005/02/03 22:33:36 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.146 2005/02/03 22:40:47 chriswhite Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -34,7 +34,7 @@ DESCRIPTION="Based on the ${ECLASS} eclass"
# Chris White <chriswhite@gentoo.org> (03 Feb 2005)
ecpu_check() {
- if [ $CROSSCOMPILE -eq 1 ]
+ if [ $CROSSCOMPILE -eq 1 ] || [ ! -e /proc/cpuinfo ]
then
else
CPU_FLAGS=$1