From 7e86939d1a46a2f73dfb4fc7a8cd0046dde53dd7 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 11 Jan 2006 23:27:52 +0000 Subject: [PATCH] Added ppc -mcpu patch from Pylon for bug #118709. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1017 d1e1f19c-881f-0410-ab34-b69fee027534 --- AUTHORS | 1 + ChangeLog | 5 ++++- arch/ppc.py | 14 +++++++------- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/AUTHORS b/AUTHORS index 5adcf00e..255fda1d 100644 --- a/AUTHORS +++ b/AUTHORS @@ -16,3 +16,4 @@ David Bryson Daniel Ostrow Matsuu Takuto Joshua Kinard +Lars Weiler diff --git a/ChangeLog b/ChangeLog index bb0e3aae..cbda395f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.502 2006/01/10 19:32:47 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.503 2006/01/11 23:27:52 wolf31o2 Exp $ + + 11 Jan 2006; Chris Gianelloni AUTHORS, arch/ppc.py: + Added ppc -mcpu patch from Pylon for bug #118709. 10 Jan 2006; Chris Gianelloni modules/embedded_target.py, modules/stage4_target.py: diff --git a/arch/ppc.py b/arch/ppc.py index f4c0a9fb..23f2f546 100644 --- a/arch/ppc.py +++ b/arch/ppc.py @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/arch/ppc.py,v 1.16 2006/01/03 14:55:11 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/arch/ppc.py,v 1.17 2006/01/11 23:27:52 wolf31o2 Exp $ import os,builder from catalyst_support import * @@ -27,35 +27,35 @@ class arch_power_ppc(generic_ppc): "builder class for generic powerpc/power" def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -mtune=common -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mcpu=common -mtune=common -fno-strict-aliasing -pipe" class arch_ppc(generic_ppc): "builder class for generic powerpc" def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -mtune=powerpc -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe" class arch_power(generic_ppc): "builder class for generic power" def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -mtune=power -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mcpu=power -mtune=power -fno-strict-aliasing -pipe" class arch_g3(generic_ppc): def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -mtune=G3 -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe" class arch_g4(generic_ppc): def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" self.settings["HOSTUSE"]=["altivec"] class arch_g5(generic_ppc): def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -mtune=G5 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mcpu=G5 -mtune=G5 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" self.settings["HOSTUSE"]=["altivec"] def register(foo): -- 2.26.2