Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/lib/drti Build as PIC if requested



details:   https://anonhg.NetBSD.org/src/rev/dc420a96981b
branches:  trunk
changeset: 343904:dc420a96981b
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 01 21:30:40 2016 +0000

description:
Build as PIC if requested

diffstat:

 external/cddl/osnet/lib/drti/Makefile |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 569df786a6f3 -r dc420a96981b external/cddl/osnet/lib/drti/Makefile
--- a/external/cddl/osnet/lib/drti/Makefile     Tue Mar 01 21:10:40 2016 +0000
+++ b/external/cddl/osnet/lib/drti/Makefile     Tue Mar 01 21:30:40 2016 +0000
@@ -2,6 +2,10 @@
 .include       <bsd.init.mk>
 .include       "../../Makefile.inc"
 
+#.if ${MKPIC} == "yes"
+#CFLAGS+=-fPIC
+#.endif
+
 .PATH:         ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common
 
 SRCS=          drti.c



Home | Main Index | Thread Index | Old Index