mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
fc539a44ac
situations. Noticed by: kib
31 lines
557 B
Makefile
31 lines
557 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+= filesystem/directory_iterator.cpp
|
|
SRCS+= filesystem/operations.cpp
|
|
SRCS+= filesystem/path.cpp
|
|
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>
|