ppc: Remove -fno-strict-aliasing from CFLAGS
authorMatt Turner <mattst88@gmail.com>
Sun, 30 Dec 2012 02:53:28 +0000 (18:53 -0800)
committerMatt Turner <mattst88@gmail.com>
Sun, 30 Dec 2012 02:57:18 +0000 (18:57 -0800)
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

index 07c20798b8a0a4ba60ee477ad3a801ef39e4d8f1..e9f611bf708e2d11a7263d03b89dd4a94d87aa30 100644 (file)
@@ -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"