svn commit: r503679 - head/devel/psptoolchain-pspsdk-stage2

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


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

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

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

Modified: head/devel/psptoolchain-pspsdk-stage2/Makefile
==============================================================================
--- head/devel/psptoolchain-pspsdk-stage2/Makefile	Fri Jun  7 23:57:49 2019	(r503678)
+++ head/devel/psptoolchain-pspsdk-stage2/Makefile	Sat Jun  8 00:23:04 2019	(r503679)
@@ -18,7 +18,11 @@ BUILD_DEPENDS=		psp-cpp:devel/psptoolchain-gcc-stage2 
 # psp-gcc doesn't need -march=... in CFLAGS (e.g. set by CPUTYPE in make.conf)
 CONFIGURE_ENV=		CFLAGS="${CFLAGS:C/(^|[[:space:]])-march=[^[:space:]]*//g}"
 CONFIGURE_ARGS=		--prefix=${PREFIX} --with-pspdev="${LOCALBASE}"
-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
 
 PLIST=			${.CURDIR}/pkg-plist
 MASTERDIR=		${.CURDIR}/../psptoolchain-pspsdk-stage1


More information about the svn-ports-all mailing list