aboutsummaryrefslogtreecommitdiff
path: root/lib/libnv/Makefile
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-04-10 09:23:57 +0000
committerKristof Provost <kp@FreeBSD.org>2021-04-10 13:43:28 +0000
commit15ca66220874c177602c13a114b2f3d17773b788 (patch)
treef1eb2ce07c75807a76467f10df34697a406eaf08 /lib/libnv/Makefile
parent3b00222f156dca5700c839d73e36daf479fa640c (diff)
downloadsrc-15ca66220874c177602c13a114b2f3d17773b788.tar.gz
src-15ca66220874c177602c13a114b2f3d17773b788.zip
libnv: Use PICFLAG rather than -fPIC
Suggested by: andrew MFC after: 4 weeks Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'lib/libnv/Makefile')
-rw-r--r--lib/libnv/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libnv/Makefile b/lib/libnv/Makefile
index 854cd2c7f3f3..6105f6244fce 100644
--- a/lib/libnv/Makefile
+++ b/lib/libnv/Makefile
@@ -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