[CRIU] [PATCH 3/9] compel: make -- Add general assembly flags

Cyrill Gorcunov gorcunov at openvz.org
Wed Aug 24 09:47:33 PDT 2016


From: Dmitry Safonov <dsafonov at virtuozzo.com>

Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 compel/plugins/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/compel/plugins/Makefile b/compel/plugins/Makefile
index 626a9782f934..d25829a90cf0 100644
--- a/compel/plugins/Makefile
+++ b/compel/plugins/Makefile
@@ -15,6 +15,10 @@ ccflags-y		+= -iquote $(SRC_DIR)/$(ARCH_DIR)/include
 asflags-y		+= -iquote $(SRC_DIR)/$(ARCH_DIR)/include
 asflags-y		+= -iquote $(SRC_DIR)/$(ARCH_DIR)
 
+# General flags for assembly
+asflags-y		+= -Wstrict-prototypes -Wa,--noexecstack
+asflags-y		+= -D__ASSEMBLY__ -nostdlib -fomit-frame-pointer
+
 
 #
 # STD plugin
-- 
2.7.4



More information about the CRIU mailing list