Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 2021 13:43:36 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 15ca66220874 - main - libnv: Use PICFLAG rather than -fPIC
Message-ID:  <202104101343.13ADha8u027493@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=15ca66220874c177602c13a114b2f3d17773b788

commit 15ca66220874c177602c13a114b2f3d17773b788
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-04-10 09:23:57 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-04-10 13:43:28 +0000

    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104101343.13ADha8u027493>