Module Name: src Committed By: christos Date: Fri Oct 18 16:06:52 UTC 2013
Modified Files: src/share/mk: bsd.lib.mk Log Message: change if HAVE_GCC is defined To generate a diff of this commit: cvs rdiff -u -r1.341 -r1.342 src/share/mk/bsd.lib.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.lib.mk diff -u src/share/mk/bsd.lib.mk:1.341 src/share/mk/bsd.lib.mk:1.342 --- src/share/mk/bsd.lib.mk:1.341 Mon Oct 14 12:00:16 2013 +++ src/share/mk/bsd.lib.mk Fri Oct 18 12:06:52 2013 @@ -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 <bsd.init.mk> @@ -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