mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-10 23:09:18 +00:00
Added "-Wstack-protector" flag
This commit is contained in:
2
Makefile
2
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
|
||||
|
||||
|
Reference in New Issue
Block a user