From 15ca66220874c177602c13a114b2f3d17773b788 Mon Sep 17 00:00:00 2001 From: Kristof Provost Date: Sat, 10 Apr 2021 11:23:57 +0200 Subject: [PATCH] libnv: Use PICFLAG rather than -fPIC Suggested by: andrew MFC after: 4 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") --- lib/libnv/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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