From ff77452d374fdacb05e70a5fc3de6233668bb323 Mon Sep 17 00:00:00 2001 From: cjep Date: Mon, 20 May 2002 15:53:59 +0000 Subject: On arm32, use gcc-2.95.3 to avoid an internal egcs compiler error: /usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc/caller-save.c:657: Internal compiler error in function insert_save_restore --- x11/xephem/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'x11/xephem') diff --git a/x11/xephem/Makefile b/x11/xephem/Makefile index 530a1f3a351..5aa33cf82d4 100644 --- a/x11/xephem/Makefile +++ b/x11/xephem/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2002/01/19 11:39:43 drochner Exp $ +# $NetBSD: Makefile,v 1.13 2002/05/20 15:53:59 cjep Exp $ DISTNAME= xephem-3.5.2 CATEGORIES= x11 @@ -13,10 +13,16 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem LIBSRC1= ${WRKDIR}/${DISTNAME}/libastro LIBSRC2= ${WRKDIR}/${DISTNAME}/libip USE_PERL5= yes -USE_IMAKE= yes LICENSE= no-commercial-use +.if (${MACHINE_ARCH} == "arm32") +. include "../../lang/gcc/Makefile.gcc" +MAKE_FLAGS+= CC=${CC} +.endif + +USE_IMAKE= yes + pre-build: (cd ${LIBSRC1}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}) (cd ${LIBSRC2}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}) -- cgit v1.2.3