[CRIU] [PATCH] build: fix build on make 4.1
Tycho Andersen
tycho.andersen at canonical.com
Thu Feb 25 20:33:07 PST 2016
I have no idea if this is really the right long term fix, but at least it
allows me to build on make 4.1 :)
Closes #117
Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
CC: Cyrill Gorcunov <gorcunov at openvz.org>
---
criu/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/criu/Makefile b/criu/Makefile
index 9774185..9f1dd38 100644
--- a/criu/Makefile
+++ b/criu/Makefile
@@ -116,7 +116,7 @@ ifeq ($(piegen-y),y)
piegen-bin := pie/piegen/piegen
pie/piegen/%: config
- $(Q) CC=$(HOSTCC) LD=$(HOSTLD) CFLAGS="$(HOSTCFLAGS) $(WARNINGS) $(DEFINES)" $(MAKE) $(build)=pie/piegen $@
+ $(Q) CC=$(HOSTCC) LD=$(HOSTLD) CFLAGS="$(ccflags-y) $(HOSTCFLAGS) $(WARNINGS) $(DEFINES)" $(MAKE) $(build)=pie/piegen $@
$(piegen-bin): pie/piegen/built-in.o
$(call msg-link, $@)
$(Q) $(HOSTCC) $(HOSTCFLAGS) $^ $(LDFLAGS) -o $@
--
2.7.0
More information about the CRIU
mailing list