[CRIU] [PATCH 1/3] build: criu -- Drop host vars
Cyrill Gorcunov
gorcunov at openvz.org
Thu Apr 14 04:00:59 PDT 2016
They are already defined and exported.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
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
--
2.5.5
More information about the CRIU
mailing list