Avoid egcs internal compiler error by using gcc-2.95.3 on arm32.

This commit is contained in:
cjep 2002-04-20 14:41:05 +00:00
parent 17e043cf4b
commit 4719ab3423

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2001/04/01 11:06:30 zuntum Exp $
# $NetBSD: Makefile,v 1.5 2002/04/20 14:41:05 cjep Exp $
DISTNAME= RasMol_2.7.1
PKGNAME= rasmol-2.7.1
@ -14,6 +14,11 @@ USE_IMAKE= YES
MAKE_ENV+= DEPTHDEF="${DEPTHDEF}"
.if (${MACHINE_ARCH} == arm32)
. include "../../lang/gcc/Makefile.gcc"
MAKE_FLAGS+= CC=${CC}
.endif
.include "../../mk/bsd.prefs.mk"
.if defined(RASMOL_DEPTH)
@ -25,6 +30,7 @@ DEPTHDEF= -DSIXTEENBIT
.endif
DEPTHDEF?= -DEIGHTBIT
post-patch:
${LN} -sf ${WRKDIR}/${DISTNAME}/doc ${WRKSRC}
${LN} -sf ${WRKDIR}/${DISTNAME}/data ${WRKSRC}