Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2019 00:23:05 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r503679 - head/devel/psptoolchain-pspsdk-stage2
Message-ID:  <201906080023.x580N5Yj089757@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906080023.x580N5Yj089757>