libpfct: Fix PIC flag
Use ${PICFLAG} rather than hard-adding -fPIC, which removes the requirement for libnv to be built PIC. MFC after: 4 weeks Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
e81b14633b
commit
8403170b3d
@ -10,7 +10,6 @@ SHLIB_MAJOR= 0
|
||||
|
||||
.PATH: ${SRCTOP}/sys/contrib/libnv ${SRCTOP}/sys/sys
|
||||
CFLAGS+=-I${.CURDIR}
|
||||
CFLAGS+=${PICFLAG}
|
||||
|
||||
SRCS= cnvlist.c
|
||||
SRCS+= dnvlist.c
|
||||
|
@ -7,6 +7,6 @@ INTERNALLIB= true
|
||||
SRCS= libpfctl.c
|
||||
INCS= libpfctl.h
|
||||
|
||||
CFLAGS+= -fPIC
|
||||
CFLAGS+=${PICFLAG}
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user