14 lines
486 B
Makefile
14 lines
486 B
Makefile
# $NetBSD: language.mk,v 1.9 2004/03/22 08:26:44 jlam Exp $
|
|
|
|
BUILDLINK_DEPENDS.gcc3-c+= gcc3${GCC3_PKGMODIF}-c-${GCC_VERSION}{,nb*}
|
|
BUILDLINK_DEPMETHOD.gcc3-c+= full
|
|
|
|
.include "../gcc3-c/Makefile.common"
|
|
|
|
pre-build:
|
|
cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} tconfig.h
|
|
${RM} -f ${WRKSRC}/libiberty/libiberty.a ${WRKSRC}/gcc/xgcc
|
|
${LN} -s ${GCC_PREFIX}/lib/libiberty.a ${WRKSRC}/libiberty
|
|
${LN} -s ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc
|
|
|
|
.include "../gcc3-c/buildlink3.mk"
|