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
|
.PATH: ${SRCTOP}/sys/contrib/libnv ${SRCTOP}/sys/sys
|
||||||
CFLAGS+=-I${.CURDIR}
|
CFLAGS+=-I${.CURDIR}
|
||||||
CFLAGS+=${PICFLAG}
|
|
||||||
|
|
||||||
SRCS= cnvlist.c
|
SRCS= cnvlist.c
|
||||||
SRCS+= dnvlist.c
|
SRCS+= dnvlist.c
|
||||||
|
@ -7,6 +7,6 @@ INTERNALLIB= true
|
|||||||
SRCS= libpfctl.c
|
SRCS= libpfctl.c
|
||||||
INCS= libpfctl.h
|
INCS= libpfctl.h
|
||||||
|
|
||||||
CFLAGS+= -fPIC
|
CFLAGS+=${PICFLAG}
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user