View | Details | Raw Unified | Return to bug 238342
Collapse All | Expand All

(-)psptoolchain-pspsdk-stage2/Makefile (-1 / +1 lines)
Lines 18-24 Link Here
18
# psp-gcc doesn't need -march=... in CFLAGS (e.g. set by CPUTYPE in make.conf)
18
# psp-gcc doesn't need -march=... in CFLAGS (e.g. set by CPUTYPE in make.conf)
19
CONFIGURE_ENV=		CFLAGS="${CFLAGS:C/(^|[[:space:]])-march=[^[:space:]]*//g}"
19
CONFIGURE_ENV=		CFLAGS="${CFLAGS:C/(^|[[:space:]])-march=[^[:space:]]*//g}"
20
CONFIGURE_ARGS=		--prefix=${PREFIX} --with-pspdev="${LOCALBASE}"
20
CONFIGURE_ARGS=		--prefix=${PREFIX} --with-pspdev="${LOCALBASE}"
21
SSP_CFLAGS?=		-fstack-protector # XXX -strong isn't supported by GCC < 4.9
21
SSP_CFLAGS?=		-fno-stack-protector # there is no libssp w/ PSP SDK, disable stack guards as they would be unresolved symbols
22
22
23
PLIST=			${.CURDIR}/pkg-plist
23
PLIST=			${.CURDIR}/pkg-plist
24
MASTERDIR=		${.CURDIR}/../psptoolchain-pspsdk-stage1
24
MASTERDIR=		${.CURDIR}/../psptoolchain-pspsdk-stage1

Return to bug 238342