Commit bab29e09 by Evgeny Vereshchagin

build-system: stop building init.lxc.static with sanitizers

`-static` isn't compatible with `-fsanitize=`: ``` gcc: error: cannot specify -static with -fsanitize=address ``` Signed-off-by: 's avatarEvgeny Vereshchagin <evvers@ya.ru>
parent 9a31ce86
......@@ -1827,6 +1827,9 @@ endif
init_lxc_static_LDFLAGS = -all-static -pthread
init_lxc_static_LDADD = @CAP_LIBS@
init_lxc_static_CFLAGS = $(AM_CFLAGS) -DNO_LXC_CONF
if ENABLE_SANITIZERS
init_lxc_static_CFLAGS += -fno-sanitize=address,undefined
endif
endif
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment