Date: Tue, 30 Apr 2019 13:53:23 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500492 - head/net/ndproxy Message-ID: <201904301353.x3UDrNCk061072@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Tue Apr 30 13:53:23 2019 New Revision: 500492 URL: https://svnweb.freebsd.org/changeset/ports/500492 Log: 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 Modified: head/net/ndproxy/Makefile Modified: head/net/ndproxy/Makefile ============================================================================== --- head/net/ndproxy/Makefile Tue Apr 30 13:47:06 2019 (r500491) +++ head/net/ndproxy/Makefile Tue Apr 30 13:53:23 2019 (r500492) @@ -11,7 +11,7 @@ COMMENT= Implementation of IPv6 Neighbor Discovery pro 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904301353.x3UDrNCk061072>