From 62aab56659d84668121351a53327e50f81fbf7da Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 22 Aug 1998 22:06:23 +0000 Subject: [PATCH] Only build the egcs libgcc if the current ${CXX} is actually egcs. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e6375a228e2e..46c0a42b2ea5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.64 1998/08/22 22:05:00 tv Exp $ +# $NetBSD: Makefile,v 1.65 1998/08/22 22:06:23 tv Exp $ .include # for configuration variables. @@ -59,7 +59,7 @@ build: beforeinstall ${MAKE} depend && NOMAN= ${MAKE} && NOMAN= ${MAKE} install) (cd ${.CURDIR}/gnu/lib && \ ${MAKE} depend && NOMAN= ${MAKE} && NOMAN= ${MAKE} install) -.if defined(USE_EGCS) +.if defined(USE_EGCS) && (${HAVE_GCC28} != "") (cd ${.CURDIR}/gnu/lib/libgcc && \ ${MAKE} depend && NOMAN= ${MAKE} && NOMAN= ${MAKE} install) .else