aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/drti
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2010-08-21 17:29:59 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2010-08-21 17:29:59 +0000
commit029a737371cea014cef5aa0eaacd3baba3dbedbe (patch)
treee4527bd8d11b0becd0b9cbced261bbe2e83241a2 /cddl/lib/drti
parent2aedda247be1141625c91bb67bc39b759cfe6c6f (diff)
downloadsrc-029a737371cea014cef5aa0eaacd3baba3dbedbe.tar.gz
src-029a737371cea014cef5aa0eaacd3baba3dbedbe.zip
Don't link drti.o with libelf_pic.a. This means that all software with
userland SDT probes must be linked with libelf explicitly. Requested by: kib Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=211577
Diffstat (limited to 'cddl/lib/drti')
-rw-r--r--cddl/lib/drti/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/cddl/lib/drti/Makefile b/cddl/lib/drti/Makefile
index 57b161f74e17..605bde752723 100644
--- a/cddl/lib/drti/Makefile
+++ b/cddl/lib/drti/Makefile
@@ -8,7 +8,7 @@ FILESOWN= ${LIBOWN}
FILESGRP= ${LIBGRP}
FILESMODE= ${LIBMODE}
FILESDIR= ${LIBDIR}/dtrace
-CLEANFILES= ${FILES} ${FILES}.tmp
+CLEANFILES= ${FILES}
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
-I${.CURDIR}/../../../cddl/compat/opensolaris/include \
@@ -18,10 +18,4 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common \
-DPIC -fpic
-.c.o:
- ${CC} ${CFLAGS} -c ${.IMPSRC}
- mv ${FILES} ${FILES}.tmp
- ${LD} -o ${FILES} -r ${FILES}.tmp ${LIBELF_PIC}
- rm -f ${FILES}.tmp
-
.include <bsd.prog.mk>