Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2019 00:23:43 +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: r503680 - head/devel/psptoolchain-newlib
Message-ID:  <201906080023.x580Nh7G089894@repo.freebsd.org>

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



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