Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/atf/lib/libatf-c++ Check for ${HAVE_GCC} and pi...



details:   https://anonhg.NetBSD.org/src/rev/781ef5b7760d
branches:  trunk
changeset: 780192:781ef5b7760d
user:      abs <abs%NetBSD.org@localhost>
date:      Sun Jul 15 00:05:51 2012 +0000

description:
Check for ${HAVE_GCC} and pick the right path to stdc++

diffstat:

 external/bsd/atf/lib/libatf-c++/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r e08833725c1d -r 781ef5b7760d external/bsd/atf/lib/libatf-c++/Makefile
--- a/external/bsd/atf/lib/libatf-c++/Makefile  Sat Jul 14 22:37:41 2012 +0000
+++ b/external/bsd/atf/lib/libatf-c++/Makefile  Sun Jul 15 00:05:51 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2012/07/12 22:15:29 christos Exp $
+# $NetBSD: Makefile,v 1.16 2012/07/15 00:05:51 abs Exp $
 
 NOLINT=                # defined
 
@@ -8,7 +8,11 @@
 LIBISCXX=      yes
 
 LIBDPLIBS+=     atf-c  ${.CURDIR}/../libatf-c
+.if ${HAVE_GCC} == 4
+LIBDPLIBS+=     stdc++ ${.CURDIR}/../../../../../gnu/lib/libstdc++-v3_4
+.else
 LIBDPLIBS+=     stdc++ ${.CURDIR}/../../../../../external/gpl3/gcc/lib/libstdc++-v3
+.endif
 LIBDPLIBS+=     m      ${.CURDIR}/../../../../../lib/libm
 
 



Home | Main Index | Thread Index | Old Index