From 67ff86e929103248a7da2419530870f108abdfa9 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 18 Oct 2013 16:06:52 +0000 Subject: [PATCH] change if HAVE_GCC is defined --- share/mk/bsd.lib.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 42a4317860dc..81d97e5319db 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.lib.mk,v 1.341 2013/10/14 16:00:16 joerg Exp $ +# $NetBSD: bsd.lib.mk,v 1.342 2013/10/18 16:06:52 christos Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 .include @@ -599,7 +599,7 @@ LDADD+= -lgcc LIBCC:= ${CXX} . if ${MKLIBCXX} == "yes" LIBDPLIBS+= c++ ${.CURDIR}/../../../../../external/bsd/libc++/lib -. elif ${HAVE_GCC} == 4 +. elif defined(HAVE_GCC) && ${HAVE_GCC} == 4 LIBDPLIBS+= stdc++ ${.CURDIR}/../../../../../gnu/lib/libstdc++-v3_4 . else LIBDPLIBS+= stdc++ ${.CURDIR}/../../../../../external/gpl3/gcc/lib/libstdc++-v3