[CRIU] [PATCH 1/3] build: criu -- Drop host vars

Dmitry Safonov dsafonov at virtuozzo.com
Thu Apr 14 04:09:03 PDT 2016


On 04/14/2016 02:00 PM, Cyrill Gorcunov wrote:
> They are already defined and exported.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
Reviewed-by: Dmitry Safonov <dsafonov at virtuozzo.com>
> ---
>   criu/Makefile | 10 ----------
>   1 file changed, 10 deletions(-)
>
> diff --git a/criu/Makefile b/criu/Makefile
> index acd44ac12136..539b7fd0832f 100644
> --- a/criu/Makefile
> +++ b/criu/Makefile
> @@ -1,17 +1,7 @@
> -#
> -# HOST part is needed to build helper
> -# tools such as piegen.
> -HOSTCC			?= gcc
> -HOSTLD			?= ld
> -HOSTCFLAGS		?= $(CFLAGS)
> -CFLAGS			+= $(USERCFLAGS)
> -
>   # here is a workaround for a bug in libnl-3:
>   # 6a8d90f5fec4 "attr: Allow attribute type 0"
>   LDFLAGS			+= -Wl,--wrap=nla_parse,--wrap=nlmsg_parse
>   
> -export HOSTCC HOSTLD HOSTCFLAGS
> -
>   ifeq ($(ARCH),x86)
>           SRCARCH		:= x86
>           LDARCH		:= i386:x86-64


-- 
Regards,
Dmitry Safonov



More information about the CRIU mailing list