From b1e09147bfbfefb47e43f3ab2f51fdb58ef3a3be Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 10 Dec 2022 06:03:42 +0200 Subject: [PATCH] Added "-Wstack-protector" flag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a1dd222..9796824 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,7 @@ LDFLAGS += -TArchitecture/i686/linker.ld \ else ifeq ($(OSARCH), aarch64) -CFLAGS += -pipe -fno-builtin -fPIC +CFLAGS += -pipe -fno-builtin -fPIC -Wstack-protector CFLAG_STACK_PROTECTOR := -fstack-protector-all -fstack-clash-protection LDFLAGS += -TArchitecture/aarch64/linker.ld -fPIC