svn commit: r503680 - head/devel/psptoolchain-newlib

Steve Wills swills at FreeBSD.org
Sat Jun 8 00:23:44 UTC 2019


Author: swills
Date: Sat Jun  8 00:23:43 2019
New Revision: 503680
URL: https://svnweb.freebsd.org/changeset/ports/503680

Log:
  devel/psptoolchain-newlib: fix to recent change that made library unusable
  
  PR:		238341
  Submitted by:	Tassilo Philipp <tphilipp at potion-studios.com> (maintainer)

Modified:
  head/devel/psptoolchain-newlib/Makefile   (contents, props changed)

Modified: head/devel/psptoolchain-newlib/Makefile
==============================================================================
--- head/devel/psptoolchain-newlib/Makefile	Sat Jun  8 00:23:04 2019	(r503679)
+++ head/devel/psptoolchain-newlib/Makefile	Sat Jun  8 00:23:43 2019	(r503680)
@@ -30,6 +30,11 @@ CONFIGURE_ENV=		PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREF
 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:


More information about the svn-ports-head mailing list