Skip to content

Commit

Permalink
Add HAVE_BOLOS_APP_STACK_CANARY by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeutin-ledger committed Dec 6, 2023
1 parent 6f81eb6 commit 8464d85
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile.defines
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ endif
# APPNAME exposed to the app as a CFLAG because it might contain spaces
CFLAGS += -DAPPNAME=\"$(APPNAME)\"

# Stack canary enabled by default
ifeq (,$(filter $(DEFINES),BOLOS_OS_UPGRADER_APP))
ifndef DISABLE_BOLOS_APP_STACK_CANARY
DEFINES += HAVE_BOLOS_APP_STACK_CANARY
endif
endif

# API_LEVEL exposed to the app as an integer
DEFINES += API_LEVEL=$(API_LEVEL)

Expand Down

0 comments on commit 8464d85

Please sign in to comment.