[CRIU] [PATCH 10/11] compel: plugins -- Add missing flags into compilation

Cyrill Gorcunov gorcunov at openvz.org
Fri Nov 11 10:52:07 PST 2016


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 compel/plugins/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compel/plugins/Makefile b/compel/plugins/Makefile
index dfbc812a52fc..4cfeced4c778 100644
--- a/compel/plugins/Makefile
+++ b/compel/plugins/Makefile
@@ -1,6 +1,6 @@
 .PHONY: .FORCE
 
-CFLAGS			:= $(filter-out -pg $(CFLAGS-GCOV),$(CFLAGS))
+CFLAGS			:= $(filter-out -pg $(CFLAGS-GCOV),$(CFLAGS)) -DCR_NOGLIBC
 PLUGIN_ARCH_DIR		:= compel/arch/$(ARCH)/plugins
 
 #
@@ -15,7 +15,7 @@ asflags-y		+= -I compel/plugins/include/uapi
 
 # General compel includes
 ccflags-y		+= -iquote $(SRC_DIR)/compel/include
-ccflags-y		+= -fno-stack-protector
+ccflags-y		+= -fpie -fno-stack-protector
 
 # General compel/plugins includes
 ccflags-y		+= -iquote $(obj)/include
-- 
2.7.4



More information about the CRIU mailing list