mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
defs.mk: Add support for stack protector
This commit is contained in:
parent
3d131cd0b3
commit
003b426aa9
1 changed files with 4 additions and 0 deletions
|
|
@ -315,6 +315,10 @@ ifeq ($(USE_COMPILER_OPTIMIZATION_OPTS),true)
|
|||
PROJECT_CPPFLAGS += -funroll-loops -O3
|
||||
endif
|
||||
|
||||
ifeq ($(USE_STACK_PROTECTOR),true)
|
||||
PROJECT_CFLAGS += -fstack-protector-all
|
||||
PROJECT_CFLAGS += -fstack-protector
|
||||
endif
|
||||
|
||||
ifneq ($(wildcard $(TOPDIR)/make/local.mk),)
|
||||
include $(TOPDIR)/make/local.mk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue