• Cyrill Gorcunov's avatar
    zdtm: Disable strict aliasing optimization · 3a1de341
    Cyrill Gorcunov authored
    Just disable it for a while, otherwise we get
    in test/zdtm/live/streaming/netlink00.c
    
    cc1: warnings being treated as errors
    netlink00.c: In function ‘form_request_del’:
    netlink00.c:311: error: dereferencing pointer ‘rtap’ does break strict-aliasing rules
    netlink00.c:312: error: dereferencing pointer ‘rtap’ does break strict-aliasing rules
    netlink00.c:310: note: initialized from here
    netlink00.c: In function ‘form_request_add’:
    netlink00.c:271: error: dereferencing pointer ‘rtap’ does break strict-aliasing rules
    netlink00.c:272: error: dereferencing pointer ‘rtap’ does break strict-aliasing rules
    netlink00.c:270: note: initialized from here
    Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    3a1de341
Makefile 1.34 KB