[CRIU] [PATCH 1/2] piegen: Use shorthand for target

Cyrill Gorcunov gorcunov at openvz.org
Tue Sep 29 12:26:20 PDT 2015


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index fdc6830f4e68..0f0447962bdc 100644
--- a/Makefile
+++ b/Makefile
@@ -214,7 +214,7 @@ pie/piegen: config
 	$(Q) $(MAKE) $(build)=pie/piegen all
 $(piegen): pie/piegen/built-in.o
 	$(E) "  LINK    " $@
-	$(Q) $(CC) $(CFLAGS) pie/piegen/built-in.o $(LDFLAGS) -o $@
+	$(Q) $(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
 .PHONY: pie/piegen
 endif
 
-- 
2.4.3



More information about the CRIU mailing list