summaryrefslogtreecommitdiff
path: root/lang/gcc3-c/language.mk
blob: 32a001884554dc79f297ea574f4ebdac7498ced9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $NetBSD: language.mk,v 1.4 2004/02/12 11:40:45 jlam Exp $

BUILDLINK_DEPENDS.gcc3c+=	gcc3${GCC3_PKGMODIF}-c>=${GCC_VERSION}
BUILDLINK_DEPMETHOD.gcc3c+=	full

.include "../../lang/gcc3-c/Makefile.common"

pre-build:
	cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} tconfig.h
	${LN} -sf ${GCC_PREFIX}/lib/libiberty.a ${WRKSRC}/libiberty
	${LN} -sf ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc

.include "../gcc3-c/buildlink3.mk"