libnv: Use PICFLAG rather than -fPIC

Suggested by:	andrew
MFC after:	4 weeks
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Kristof Provost 2021-04-10 11:23:57 +02:00
parent 3b00222f15
commit 15ca662208

View File

@ -10,7 +10,7 @@ SHLIB_MAJOR= 0
.PATH: ${SRCTOP}/sys/contrib/libnv ${SRCTOP}/sys/sys .PATH: ${SRCTOP}/sys/contrib/libnv ${SRCTOP}/sys/sys
CFLAGS+=-I${.CURDIR} CFLAGS+=-I${.CURDIR}
CFLAGS+=-fPIC CFLAGS+=${PICFLAG}
SRCS= cnvlist.c SRCS= cnvlist.c
SRCS+= dnvlist.c SRCS+= dnvlist.c