mirror of
https://github.com/opnsense/src.git
synced 2026-03-17 08:02:24 -04: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
27 lines
388 B
Makefile
27 lines
388 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR:H}
|
|
SHLIB= h_csu
|
|
SHLIB_NAME= libh_csu.so
|
|
SHLIB_MAJOR= 1
|
|
|
|
ALLOW_MIPS_SHARED_TEXTREL=
|
|
|
|
WITHOUT_STATIC=
|
|
WITHOUT_PROFILE=
|
|
WITHOUT_PIC=
|
|
|
|
CFLAGS+= -DDSO_LIB
|
|
|
|
.include "../Makefile.tests"
|
|
SRCS=
|
|
.for src in ${ATF_TESTS_C}
|
|
SRCS+= ${src}.c
|
|
.endfor
|
|
.for src in ${ATF_TESTS_CXX}
|
|
SRCS+= ${src}.cc
|
|
.endfor
|
|
|
|
LIBDIR= ${TESTSBASE}/lib/csu/dynamiclib/
|
|
|
|
.include <bsd.lib.mk>
|