7a98470824
MK_LIBCPLUSPLUS=yes to enable). This is a work-in-progress. It works for me, but is not guaranteed to work for anyone else and may eat your dog. To build C++ using libc++, add -stdlib=libc++ to your CXX and LD flags. Bug reports welcome, bug fixes even more welcome... Approved by: dim (mentor)
27 lines
479 B
Makefile
27 lines
479 B
Makefile
# $FreeBSD$
|
|
|
|
SRCDIR= ${.CURDIR}/../../contrib/libcxxrt
|
|
|
|
SHLIB_MAJOR= 1
|
|
SHLIBDIR?= /lib
|
|
|
|
.PATH: ${SRCDIR}
|
|
|
|
LIB= cxxrt
|
|
|
|
SRCS+= libelftc_dem_gnu3.c\
|
|
terminate.cc\
|
|
dynamic_cast.cc\
|
|
memory.cc\
|
|
auxhelper.cc\
|
|
exception.cc\
|
|
stdexcept.cc\
|
|
typeinfo.cc\
|
|
guard.cc
|
|
|
|
WARNS= 0
|
|
CFLAGS+= -I${SRCDIR}
|
|
LDADD+= -pthread
|
|
|
|
.include <bsd.lib.mk>
|