[CRIU] [PATCH 6/9] compel/plugins/Makefile: clean up

Kir Kolyshkin kir at openvz.org
Fri Mar 24 15:07:43 PDT 2017


1. Remove .FORCE, it's not used.

2. Consolidate CFLAGS stripping into a single line.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 compel/plugins/Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/compel/plugins/Makefile b/compel/plugins/Makefile
index 79ed21d..e834a05 100644
--- a/compel/plugins/Makefile
+++ b/compel/plugins/Makefile
@@ -1,9 +1,7 @@
-.PHONY: .FORCE
+CFLAGS		:= $(filter-out -pg $(CFLAGS-GCOV) $(CFLAGS-ASAN),$(CFLAGS))
+CFLAGS		+= -DCR_NOGLIBC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
+CFLAGS		+= -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=0
 
-CFLAGS			:= $(filter-out -pg $(CFLAGS-GCOV),$(CFLAGS))
-CFLAGS			+= -DCR_NOGLIBC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
-CFLAGS			+= -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=0
-CFLAGS			:= $(filter-out $(CFLAGS-ASAN),$(CFLAGS))
 PLUGIN_ARCH_DIR		:= compel/arch/$(ARCH)/plugins
 
 #
-- 
2.9.3



More information about the CRIU mailing list