mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-27 15:04:33 +00:00
Added "-Wstack-protector" flag
This commit is contained in:
parent
3ef08457e3
commit
b1e09147bf
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user