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

Laurent Vivier laurent at vivier.eu
Tue Aug 11 12:39:56 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
...

Why is this needed ?

Laurent
-- 
--------------------- Laurent at vivier.eu  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard



More information about the OpenBIOS mailing list