CXXFLAGS+=-Wno-c++11-narrowing is not supported by base GCC. Instead
add USE_CXXSTD=c++98 which makes this port compile by both base GCC and Clang. PR: 235527 Submitted by: Piotr Kubaj
This commit is contained in:
parent
9a845935f7
commit
ede1f87890
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492280
@ -17,13 +17,13 @@ LICENSE= LGPL20
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= gmake libtool
|
||||
USE_CXXSTD= c++98
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
CPPFLAGS+= -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT
|
||||
LDFLAGS+= -lpthread
|
||||
CXXFLAGS+= -Wno-c++11-narrowing
|
||||
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
Loading…
Reference in New Issue
Block a user