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(-)
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