-
Dmitry Safonov authored
I have CONFIG_HAS_LIBBSD, but -DCONFIG_HAS_LIBBSD isn't passed to compiler. Fix for the following error: <...> CC cr-dedup.o CC cr-dump.o cr-dump.c: In function ‘dump_filemap’: cr-dump.c:382:3: error: implicit declaration of function ‘strlcpy’ [-Werror=implicit-function-declaration] strlcpy(aufs_link.name, vma_area->aufs_rpath, ^ cc1: all warnings being treated as errors /home/japdoll/tools/criu/scripts/nmk/scripts/rules.mk:53: recipe for target 'cr-dump.o' failed make[2]: *** [cr-dump.o] Error 1 Makefile:146: recipe for target 'built-in.o' failed make[1]: *** [built-in.o] Error 2 Makefile:109: recipe for target 'criu' failed make: *** [criu] Error 2 Signed-off-by:
Dmitry Safonov <dsafonov@virtuozzo.com> Acked-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
eb66a97f