libnv: Use PICFLAG rather than -fPIC

Suggested by:	andrew
MFC after:	4 weeks
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 15ca662208)
This commit is contained in:
Kristof Provost 2021-04-10 11:23:57 +02:00
parent 1398367b3a
commit b77243fe04

View file

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