/[gentoo-x86]/eclass/flag-o-matic.eclass
Gentoo

Diff of /eclass/flag-o-matic.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.97 Revision 1.98
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.97 2005/12/08 21:08:48 azarah Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.98 2005/12/09 18:40:11 fmccor Exp $
4 4
5 5
6# need access to emktemp() 6# need access to emktemp()
7inherit eutils toolchain-funcs multilib 7inherit eutils toolchain-funcs multilib
8 8
464 [[ ${ret} != 1 ]] && return 0 464 [[ ${ret} != 1 ]] && return 0
465 return 1 465 return 1
466} 466}
467 467
468replace-sparc64-flags() { 468replace-sparc64-flags() {
469 local SPARC64_CPUS="ultrasparc v9" 469 local SPARC64_CPUS="ultrasparc3 ultrasparc v9"
470 470
471 if [ "${CFLAGS/mtune}" != "${CFLAGS}" ]; then 471 if [ "${CFLAGS/mtune}" != "${CFLAGS}" ]; then
472 for x in ${SPARC64_CPUS}; do 472 for x in ${SPARC64_CPUS}; do
473 CFLAGS="${CFLAGS/-mcpu=${x}/-mcpu=v8}" 473 CFLAGS="${CFLAGS/-mcpu=${x}/-mcpu=v8}"
474 done 474 done

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.98

  ViewVC Help
Powered by ViewVC 1.1.20