Message ID | 1379019524-23543-2-git-send-email-sven@narfation.org |
---|---|
State | Accepted, archived |
Commit | ba0674a50b7bdfd7b09750d9af5c54389f7f54fa |
Headers | show |
diff --git a/Makefile b/Makefile index ce1e198..3205573 100755 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ MANPAGE = man/batmand.8 #NO_POLICY_ROUTING = -DNO_POLICY_ROUTING # batmand flags and options -CFLAGS += -pedantic -Wall -W -std=gnu99 -MD +CFLAGS += -pedantic -Wall -W -std=gnu99 -MD -fno-strict-aliasing CPPFLAGS += -DDEBUG_MALLOC -DMEMORY_USAGE -DPROFILE_DATA $(NO_POLICY_ROUTING) LDLIBS += -lpthread
There are different aliasing problems in posix/tunnel.c and maybe other files. This can lead to wrongly generated code when the compiler assumes strict aliasing rules. Signed-off-by: Sven Eckelmann <sven@narfation.org> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)