summaryrefslogtreecommitdiff
path: root/lang/gcc3/language.mk
blob: 896c1ab653a23d962bdbb59719efb2976a6b0794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: language.mk,v 1.4 2004/09/22 08:09:39 jlam Exp $

BUILDLINK_DEPENDS.gcc3-c+=	gcc3${GCC3_PKGMODIF}-c-${GCC_VERSION}{,nb*}
BUILDLINK_DEPMETHOD.gcc3-c+=	full

.include "../../lang/gcc3/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 "../../lang/gcc3-c/buildlink3.mk"