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