1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

devel/psptoolchain-newlib: fix to recent change that made library unusable

PR:		238341
Submitted by:	Tassilo Philipp <tphilipp@potion-studios.com> (maintainer)
This commit is contained in:
Steve Wills 2019-06-08 00:23:43 +00:00
parent 9cd94e2c85
commit ecaa429bca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503680

View File

@ -30,6 +30,11 @@ CONFIGURE_ENV= PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH} \
MAKE_ENV= PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH}
CONFIGURE_ARGS= --prefix=${PREFIX} --target="psp"
SSP_CFLAGS?= -fstack-protector # XXX -strong isn't supported by GCC < 4.9
# there is no libssp w/ PSP SDK, disable stack guards as they would be
# unresolved symbols, explicitly disable to be on the safe side
SSP_UNSAFE= yes
CFLAGS+= -fno-stack-protector
LDFLAGS+= -fno-stack-protector
# Disable installation of .info files and fix includedir reference.
post-patch: