The branch stable/12 has been updated by kp:

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

commit e3859eb576517e88c287dd86e9d6da32b9620d61
Author:     Kristof Provost <[email protected]>
AuthorDate: 2021-04-10 09:23:57 +0000
Commit:     Kristof Provost <[email protected]>
CommitDate: 2021-05-07 08:16:02 +0000

    libnv: Use PICFLAG rather than -fPIC
    
    Suggested by:   andrew
    MFC after:      4 weeks
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    
    (cherry picked from commit 15ca66220874c177602c13a114b2f3d17773b788)
---
 lib/libnv/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libnv/Makefile b/lib/libnv/Makefile
index 63e7a274f578..2e227cbc0b04 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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to