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/3f292ef48466
branches:  trunk
changeset: 814046:3f292ef48466
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 5189b02ddbcd -r 3f292ef48466 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