1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

-Wno-unused-result is not supported by base GCC, which made the build

fail on GCC-based architectures.

PR:		233290
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2018-11-24 09:24:41 +00:00
parent 05948ae4d9
commit 01c7595288
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485741

View File

@ -27,4 +27,9 @@ GH_TAGNAME= 11d9ed6
IGNORE= fusefs has not been implemented on DragonFly
.endif
post-patch:
.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
${REINPLACE_CMD} -e '/-Wno-unused-result/d' ${WRKSRC}/meson.build
.endif
.include <bsd.port.post.mk>