summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2011-11-28 10:01:36 +0000
committerrwatson <rwatson@FreeBSD.org>2011-11-28 10:01:36 +0000
commit1a5f36a1c63611877bb5908d3262c5a98ee288d1 (patch)
treea0570f681d9bcb59f64bcb18cd53b5f5e00d25b7 /cddl
parentdd693bfcaed8c654c26edc8588d427dad2e4da5e (diff)
downloadFreeBSD-src-1a5f36a1c63611877bb5908d3262c5a98ee288d1.zip
FreeBSD-src-1a5f36a1c63611877bb5908d3262c5a98ee288d1.tar.gz
Change the Makefile in cddl/lib/drti to use bsd.lib.mk instead of
bsd.prog.mk -- we need to compile PIC, which requires a library build. With this change, USDT (userspace DTrace probes) work from within shared libraries. PR: kern/159046 Submitted by: Alex Samorukov <samm at os2.kiev.ua> Comments by: Scott Lystig Fritchie <slfritchie at snookles.com> MFC after: 3 days
Diffstat (limited to 'cddl')
-rw-r--r--cddl/lib/drti/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/lib/drti/Makefile b/cddl/lib/drti/Makefile
index ccc9aa9..6e3d3a6 100644
--- a/cddl/lib/drti/Makefile
+++ b/cddl/lib/drti/Makefile
@@ -18,4 +18,4 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common \
-DPIC ${PICFLAG}
-.include <bsd.prog.mk>
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud