[OpenBIOS] [PATCH 1/4] Disable strict aliasing for all targets

Pavel Roskin proski at gnu.org
Tue Aug 11 03:26:28 CEST 2009


---
 Makefile.target |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.target b/Makefile.target
index f94f450..bf83b5b 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -25,6 +25,7 @@ STRIP  := $(TARGET)strip
 RANLIB := $(TARGET)ranlib
 
 CFLAGS+= -Os -g -DNATIVE_BITWIDTH_EQUALS_HOST_BITWIDTH -USWAP_ENDIANNESS
+CFLAGS+= -fno-strict-aliasing
 CFLAGS+= -Wall -Wredundant-decls -Wshadow -Wpointer-arith
 CFLAGS+= -Wstrict-prototypes -Wmissing-declarations -Wundef -Wendif-labels
 CFLAGS+= -Wstrict-aliasing -Wwrite-strings -Wmissing-prototypes



More information about the OpenBIOS mailing list