Added "-Wstack-protector" flag

This commit is contained in:
Alex 2022-12-10 06:03:42 +02:00
parent 3ef08457e3
commit b1e09147bf
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -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