From d3bb2a8cfc3f9d85b195a40fc810c22cfe1ecf44 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 29 Dec 2012 18:53:28 -0800 Subject: [PATCH] ppc: Remove -fno-strict-aliasing from CFLAGS Added temporarily in 2004 (commit b010c1bd) for gcc-3.3.3/nptl. Time to go. Fixes https://bugs.gentoo.org/show_bug.cgi?id=449240 --- arch/powerpc.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/powerpc.py b/arch/powerpc.py index 07c20798..e9f611bf 100644 --- a/arch/powerpc.py +++ b/arch/powerpc.py @@ -25,7 +25,7 @@ class arch_ppc(generic_ppc): "builder class for generic powerpc" def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mcpu=powerpc -mtune=powerpc -pipe" class arch_ppc64(generic_ppc64): "builder class for generic ppc64" @@ -51,31 +51,31 @@ class arch_cell(arch_ppc64): class arch_g3(generic_ppc): def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mcpu=G3 -mtune=G3 -pipe" class arch_g4(generic_ppc): def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -pipe" self.settings["HOSTUSE"]=["altivec"] class arch_g5(generic_ppc): def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -mcpu=G5 -mtune=G5 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mcpu=G5 -mtune=G5 -maltivec -mabi=altivec -pipe" self.settings["HOSTUSE"]=["altivec"] class arch_power(generic_ppc): "builder class for generic power" def __init__(self,myspec): generic_ppc.__init__(self,myspec) - self.settings["CFLAGS"]="-O2 -mcpu=power -mtune=power -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mcpu=power -mtune=power -pipe" 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 -mcpu=common -mtune=common -fno-strict-aliasing -pipe" + self.settings["CFLAGS"]="-O2 -mcpu=common -mtune=common -pipe" class arch_power3(arch_ppc64): "builder class for power3 under ppc64" -- 2.26.2