Disable stack protection

The stack protection is incompatible with --no-undefined because none of
the libraries we link with contain the canary symbol.
This commit is contained in:
Ehmry - 2019-11-19 16:43:47 +01:00
parent 98f9d3bf26
commit e3b5eadb41
1 changed files with 4 additions and 0 deletions

View File

@ -31,4 +31,8 @@ PKG_DEPENDS += \
LINK_T = $(TUP_CWD)/link.T
DEFINES += -fPIC -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565
DEFINES += -DGIT_VERSION=\"$(GIT_VERSION)\"
CFLAGS += -fno-stack-protector
CXXFLAGS += -fno-stack-protector
NO_UNDEFINED = --no-undefined