The branch stable/13 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=259e52433f0afd6fecbe28b4ed26fd5524f6566d
commit 259e52433f0afd6fecbe28b4ed26fd5524f6566d Author: Kristof Provost <[email protected]> AuthorDate: 2021-04-02 15:06:02 +0000 Commit: Kristof Provost <[email protected]> CommitDate: 2021-05-07 08:15:41 +0000 libnv: Build PIC Build libnv as position independent code so we can use it from shared libraries. MFC after: 4 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D29561 (cherry picked from commit 0dd13c77432ade1ae94c9661cbad5537e3e6ab1d) --- lib/libnv/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libnv/Makefile b/lib/libnv/Makefile index b13758931c4e..854cd2c7f3f3 100644 --- a/lib/libnv/Makefile +++ b/lib/libnv/Makefile @@ -10,6 +10,7 @@ SHLIB_MAJOR= 0 .PATH: ${SRCTOP}/sys/contrib/libnv ${SRCTOP}/sys/sys CFLAGS+=-I${.CURDIR} +CFLAGS+=-fPIC SRCS= cnvlist.c SRCS+= dnvlist.c _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
