diff --git a/kernel/Makefile b/kernel/Makefile index f1aa36fa..9d6ec906 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -9,7 +9,7 @@ LD = $(TARGET_COMPILE)ld AS = $(TARGET_COMPILE)as OBJCOPY = $(TARGET_COMPILE)objcopy -CFLAGS += -Wall -fno-builtin -std=gnu11 -nostdinc -mgeneral-regs-only +CFLAGS += -Wall -fno-builtin -std=gnu11 -nostdinc -mgeneral-regs-only -fno-stack-protector -fno-pic CFLAGS += -g ifdef DEBUG