When compiling this port with GCC, the following warning is treated as error:
exprfilter_scanner.rl:114:1: warning: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] Add -Wno-error=narrowing to CXXFLAGS on GCC-based architectures to fix the build. PR: 235349 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
This commit is contained in:
parent
95efea9e02
commit
14dba3a58b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492118
@ -46,4 +46,8 @@ LUA_USES= lua:51
|
||||
XFT_CONFIGURE_OFF= --disable-xft
|
||||
XFT_USE= xorg=xft
|
||||
|
||||
.if exists(/usr/lib/libstdc++.so)
|
||||
CXXFLAGS+= -Wno-error=narrowing
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user