Repository : ssh://git@open-mesh.org/batmand
On branch : master
commit ba0674a50b7bdfd7b09750d9af5c54389f7f54fa Author: Sven Eckelmann sven@narfation.org Date: Sun Sep 15 17:38:21 2013 +0200
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
ba0674a50b7bdfd7b09750d9af5c54389f7f54fa Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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