mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
2 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue