ppc: Remove -fno-strict-aliasing
authorKumar Gala <galak@kernel.crashing.org>
Tue, 1 Sep 2009 16:24:44 +0000 (11:24 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 4 Sep 2009 20:15:48 +0000 (22:15 +0200)
-fno-strict-aliasing is hidding warnings.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/tqc/tqm5200/Makefile
cpu/74xx_7xx/config.mk
cpu/mpc824x/config.mk
cpu/mpc8xx/config.mk
cpu/ppc4xx/config.mk

index ce125e2b9608242da97930d1011f30d507184049..55c4d99a8f3330fb204f2acb5646fa385e71bfd1 100644 (file)
@@ -41,7 +41,7 @@ distclean:    clean
        rm -f $(LIB) core *.bak $(obj).depend
 
 cam5200_flash.o:       cam5200_flash.c
-       $(CC) $(CFLAGS) -fno-strict-aliasing -c -o $@ $<
+       $(CC) $(CFLAGS) -c -o $@ $<
 
 #########################################################################
 
index 324f62b836da85354c1d191d1f39cfcf55a1ec19..d58921079c76eac475f46f5759b64810311970cb 100644 (file)
@@ -21,6 +21,6 @@
 # MA 02111-1307 USA
 #
 
-PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing
+PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
 
 PLATFORM_CPPFLAGS += -DCONFIG_74xx_7xx -ffixed-r2 -mstring
index 1bb0487bd3ba464233dfc765bf26053de9724fec..b607fee4fddd9909fa9379a33a012c0387940bbf 100644 (file)
@@ -21,7 +21,7 @@
 # MA 02111-1307 USA
 #
 
-PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing
+PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
 
 PLATFORM_CPPFLAGS += -DCONFIG_MPC824X -ffixed-r2 -mstring -mcpu=603e -msoft-float
 
index 6031e7f76af9502e27392a4c1b925a4257ff7deb..2b3d545cc37d962110dc02e2f6fb3da9aaba11cc 100644 (file)
@@ -21,6 +21,6 @@
 # MA 02111-1307 USA
 #
 
-PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing
+PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
 
 PLATFORM_CPPFLAGS += -DCONFIG_8xx -ffixed-r2 -mstring -mcpu=860 -msoft-float
index baa97a4122ae2e2dfc477ad65ea85478056c8830..00ad39b602710096562a2ca615d8e0606b4b05cd 100644 (file)
@@ -21,7 +21,7 @@
 # MA 02111-1307 USA
 #
 
-PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing
+PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
 PLATFORM_CPPFLAGS += -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float
 
 cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')