2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 18:07:57 +00:00

build: criu -- Drop host vars

They are already defined and exported.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Cyrill Gorcunov 2016-04-14 14:00:59 +03:00 committed by Pavel Emelyanov
parent 17ae160b33
commit 8a4c16fba0

View File

@ -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: # here is a workaround for a bug in libnl-3:
# 6a8d90f5fec4 "attr: Allow attribute type 0" # 6a8d90f5fec4 "attr: Allow attribute type 0"
WRAPFLAGS += -Wl,--wrap=nla_parse,--wrap=nlmsg_parse WRAPFLAGS += -Wl,--wrap=nla_parse,--wrap=nlmsg_parse
export HOSTCC HOSTLD HOSTCFLAGS
ifeq ($(ARCH),x86) ifeq ($(ARCH),x86)
SRCARCH := x86 SRCARCH := x86
LDARCH := i386:x86-64 LDARCH := i386:x86-64