summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorFerris McCormick <fmccor@gentoo.org>2005-12-09 18:40:11 +0000
committerFerris McCormick <fmccor@gentoo.org>2005-12-09 18:40:11 +0000
commitdcaa75ead65edf33e9a6668e89d1e1a1224ae7cb (patch)
tree6bfa9a606d42fd0d29d37c5943c513704bf9a5c1 /eclass
parentstable on amd64 wrt bug 105380 (diff)
downloadgentoo-2-dcaa75ead65edf33e9a6668e89d1e1a1224ae7cb.tar.gz
gentoo-2-dcaa75ead65edf33e9a6668e89d1e1a1224ae7cb.tar.bz2
gentoo-2-dcaa75ead65edf33e9a6668e89d1e1a1224ae7cb.zip
In replace-sparc64-cflags, we need local 'SPARC64_CPUS="ultrasparc3 ultrasparc v9"'.
Without the ultrasparc3 at the beginning of the list, in some cases, we can end up with '-mcpu=ultrasparc3' ==> '-mcpu=v83', and subsequently, package configure can fail. Problem arose from mozilla and a particular set lf CFLAGS.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index ae93c20b1b1a..e302e1b600b9 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.97 2005/12/08 21:08:48 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.98 2005/12/09 18:40:11 fmccor Exp $
# need access to emktemp()
@@ -466,7 +466,7 @@ has_m32() {
}
replace-sparc64-flags() {
- local SPARC64_CPUS="ultrasparc v9"
+ local SPARC64_CPUS="ultrasparc3 ultrasparc v9"
if [ "${CFLAGS/mtune}" != "${CFLAGS}" ]; then
for x in ${SPARC64_CPUS}; do