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 9f6e22d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile.defines
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ endif
# APPNAME exposed to the app as a CFLAG because it might contain spaces
CFLAGS += -DAPPNAME=\"$(APPNAME)\"

# Stack canary enabled by default
ifndef NO_BOLOS_APP_STACK_CANARY
DEFINES += HAVE_BOLOS_APP_STACK_CANARY
endif

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

Expand Down

0 comments on commit 9f6e22d

Please sign in to comment.