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

(-)devel/psptoolchain-newlib/Makefile (-2 / +4 lines)
Lines 23-32 Link Here
23
23
24
USES=			gmake makeinfo
24
USES=			gmake makeinfo
25
HAS_CONFIGURE=		yes
25
HAS_CONFIGURE=		yes
26
CONFIGURE_ENV=		PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH}
26
27
# psp-gcc doesn't need -march=... in CFLAGS (e.g. set by CPUTYPE in make.conf); also need -g on psp for some reason
28
CONFIGURE_ENV=		PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH} \
29
			CFLAGS="${CFLAGS:C/(^|[[:space:]])-march=[^[:space:]]*//g} -g"
27
MAKE_ENV=		PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH}
30
MAKE_ENV=		PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH}
28
CONFIGURE_ARGS=		--prefix=${PREFIX} --target="psp"
31
CONFIGURE_ARGS=		--prefix=${PREFIX} --target="psp"
29
MAKE_ARGS+=		CC="${CC}" CFLAGS="${CFLAGS} -g" # Apparently, it doesn't work on the PSP without debug information
30
32
31
# Disable installation of .info files and fix includedir reference.
33
# Disable installation of .info files and fix includedir reference.
32
post-patch:
34
post-patch:

Return to bug 233812