Check for ${HAVE_GCC} and pick the right path to stdc++
This commit is contained in:
parent
2b8403e3b4
commit
e1e1c8c184
|
@ -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 @@ LIB= atf-c++
|
|||
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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue