From: Pierre Habouzit Date: Sun, 19 Oct 2008 14:32:52 +0000 (+0200) Subject: strict aliasing generates too many bugs X-Git-Url: http://git.madism.org/?a=commitdiff_plain;ds=inline;h=8429bd1157d8a6ccb8e15b8c02b84d1ad548902b;p=apps%2Fpfixtools.git strict aliasing generates too many bugs Signed-off-by: Pierre Habouzit --- diff --git a/mk/cflags.mk b/mk/cflags.mk index 1dcdb31..c184d9a 100644 --- a/mk/cflags.mk +++ b/mk/cflags.mk @@ -42,7 +42,7 @@ CFLAGSBASE += -pipe CFLAGSBASE += -O2 # let the type char be unsigned by default CFLAGSBASE += -funsigned-char -CFLAGSBASE += -fstrict-aliasing +CFLAGSBASE += -fno-strict-aliasing # turn on all common warnings CFLAGSBASE += -Wall # turn on extra warnings