[CRIU] [PATCH] make: PIEGEN should be filtered

Laurent Dufour ldufour at linux.vnet.ibm.com
Mon May 11 01:49:04 PDT 2015


Thanks Cyrill, this fixes the build on ppc64le.

Tested-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>

On 11/05/2015 10:37, Cyrill Gorcunov wrote:
> Reported-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Makefile b/Makefile
> index 59a579fd2e44..b29ced62d5a5 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -142,7 +142,9 @@ ARCH-LIB	:= $(ARCH_DIR)/crtools.built-in.o
>  CRIU-SO		:= libcriu
>  CRIU-LIB	:= lib/$(CRIU-SO).so
>  CRIU-INC	:= lib/criu.h include/criu-plugin.h include/criu-log.h protobuf/rpc.proto
> +ifneq ($(filter i386 x86_64, $(ARCH)),)
>  PIEGEN		:= pie/piegen/piegen
> +endif
> 
>  export CC MAKE CFLAGS LIBS SRCARCH DEFINES MAKEFLAGS CRIU-SO
>  export SRC_DIR SYSCALL-LIB SH RM ARCH_DIR OBJCOPY LDARCH LD
> 



More information about the CRIU mailing list