From 338f3aa7b7e3cc58df77df1c5e09b7b8a648bf76 Mon Sep 17 00:00:00 2001 From: Dmitry Safonov Date: Wed, 21 Sep 2016 23:54:22 +0300 Subject: [PATCH] compel: make -- Add general assembly flags Signed-off-by: Dmitry Safonov Signed-off-by: Pavel Emelyanov Signed-off-by: Andrei Vagin --- compel/plugins/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compel/plugins/Makefile b/compel/plugins/Makefile index 626a9782f..d25829a90 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