b8787754e0
The fix in r300873 is mostly enough. A fix for lib32 will be committed.separately.
31 lines
453 B
Makefile
31 lines
453 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= clibs
|
|
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+= -isystem ${SRCDIR} -nostdinc++
|
|
.if empty(CXXFLAGS:M-std=*)
|
|
CXXFLAGS+= -std=c++11
|
|
.endif
|
|
VERSION_MAP= ${.CURDIR}/Version.map
|
|
|
|
.include <bsd.lib.mk>
|