488aa40ab0
and update OptionalObsoleteFiles.inc for new additions.
28 lines
453 B
Makefile
28 lines
453 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE= clibs
|
|
SRCDIR= ${SRCTOP}/contrib/libc++
|
|
|
|
LIB= c++experimental
|
|
NO_PIC=
|
|
MK_PROFILE= no
|
|
|
|
.PATH: ${SRCDIR}/src/experimental
|
|
|
|
SRCS+= memory_resource.cpp
|
|
|
|
WARNS?= 0
|
|
CXXFLAGS+= ${PICFLAG}
|
|
CXXFLAGS+= -isystem ${SRCDIR}/include
|
|
CXXFLAGS+= -nostdinc++
|
|
CXXFLAGS+= -nostdlib
|
|
CXXFLAGS+= -D_LIBCPP_BUILDING_LIBRARY
|
|
CXXFLAGS+= -DLIBCXXRT
|
|
.if empty(CXXFLAGS:M-std=*)
|
|
CXXFLAGS+= -std=c++14
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|