2017-05-21 17:07:12 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.include <src.opts.mk>
|
|
|
|
|
|
|
|
PACKAGE= clibs
|
2019-12-20 19:53:05 +00:00
|
|
|
SRCDIR= ${SRCTOP}/contrib/llvm-project/libcxx
|
2017-05-21 17:07:12 +00:00
|
|
|
|
|
|
|
LIB= c++experimental
|
|
|
|
NO_PIC=
|
|
|
|
MK_PROFILE= no
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}/src/experimental
|
|
|
|
|
|
|
|
SRCS+= memory_resource.cpp
|
|
|
|
|
|
|
|
WARNS?= 0
|
2017-05-21 21:33:15 +00:00
|
|
|
CXXFLAGS+= ${PICFLAG}
|
2017-05-21 17:07:12 +00:00
|
|
|
CXXFLAGS+= -isystem ${SRCDIR}/include
|
|
|
|
CXXFLAGS+= -nostdinc++
|
|
|
|
CXXFLAGS+= -nostdlib
|
|
|
|
CXXFLAGS+= -D_LIBCPP_BUILDING_LIBRARY
|
|
|
|
CXXFLAGS+= -DLIBCXXRT
|
2019-04-22 18:38:54 +00:00
|
|
|
CXXSTD?= c++14
|
2017-05-21 17:07:12 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|