Fix build on 12.0-CURRENT >= 1200056 (LLVM update)

Submitted by:	Santhosh Raju <santhosh.raju@gmail.com> (maintainer)
This commit is contained in:
Philip Paeps 2018-06-07 13:36:45 +00:00
parent 257f805fd2
commit ce4003dd54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471921

View file

@ -43,4 +43,8 @@ CFLAGS+= -Wno-error=undefined-func-template
CFLAGS+= -Wno-error=zero-as-null-pointer-constant
.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200056
CFLAGS+= -Wno-error=redundant-parens
.endif
.include <bsd.port.post.mk>