[CRIU] [PATCH 07/19] compel: make -- Add general assembly flags

Cyrill Gorcunov gorcunov at openvz.org
Wed Sep 21 13:54:22 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