net/ndproxy: add -Wno-error=strict-prototypes to CFLAGS when using GCC

This is needed to fix build:
ndproxy.c:51: function declaration isn't a prototype

PR:		237296
Approved by:	fbsd.bugzilla@fenyo.net (maintainer), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D20013
This commit is contained in:
Piotr Kubaj 2019-04-30 13:53:23 +00:00
parent e91c45585e
commit b1ec240079
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500492

View file

@ -11,7 +11,7 @@ COMMENT= Implementation of IPv6 Neighbor Discovery proxy
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= kmod
USES= compiler kmod
SUB_FILES= pkg-message
@ -20,7 +20,8 @@ USE_GITHUB= yes
GH_ACCOUNT= AlexandreFenyo
# build for a kernel with 'options VIMAGE'
CFLAGS+= -DVIMAGE
CFLAGS+= -DVIMAGE ${CFLAGS_${CHOSEN_COMPILER_TYPE}}
CFLAGS_gcc= -Wno-error=strict-prototypes
PLIST_FILES= ${KMODDIR}/${PORTNAME}.ko man/man4/${PORTNAME}.4.gz