Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk change if HAVE_GCC is defined



details:   https://anonhg.NetBSD.org/src/rev/106dfeffddd0
branches:  trunk
changeset: 790617:106dfeffddd0
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 18 16:06:52 2013 +0000

description:
change if HAVE_GCC is defined

diffstat:

 share/mk/bsd.lib.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 055f5b7e9dd7 -r 106dfeffddd0 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk       Fri Oct 18 15:16:08 2013 +0000
+++ b/share/mk/bsd.lib.mk       Fri Oct 18 16:06:52 2013 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index