mirror of
https://github.com/opnsense/src.git
synced 2026-03-01 12:51:07 -05:00
Diff partially stolen from CheriBSD; these bits need -Wl,-z,notext in order to build in an LLVM world. They are needed for all flavors/sizes of MIPS. This will eventually get fixed in LLVM, but it's unclear when. Reported by: arichardson, emaste Differential Revision: https://reviews.freebsd.org/D21696
29 lines
431 B
Makefile
29 lines
431 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= clibs
|
|
SRCDIR= ${SRCTOP}/contrib/libcxxrt
|
|
|
|
SHLIB_MAJOR= 1
|
|
SHLIBDIR?= /lib
|
|
ALLOW_MIPS_SHARED_TEXTREL=
|
|
|
|
.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++
|
|
CXXSTD?= c++14
|
|
VERSION_MAP= ${.CURDIR}/Version.map
|
|
|
|
.include <bsd.lib.mk>
|