1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Add compiler:c++17-lang to USES to fix build on GCC-based systems:

cc1plus: error: unrecognized command line option "-Wno-class-memaccess"
  cc1plus: error: unrecognized command line option "-std=c++17"
  cc1plus: error: unrecognized command line option "-std=gnu++1z"

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2020-08-29 17:00:48 +00:00
parent 840978d42e
commit adf00e4555
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546926

View File

@ -14,7 +14,7 @@ BUILD_DEPENDS= rapidjson>0:devel/rapidjson
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libqt5keychain.so:security/qtkeychain
USES= gl pkgconfig qmake qt:5 ssl
USES= compiler:c++17-lang gl pkgconfig qmake qt:5 ssl
USE_QT= concurrent core gui multimedia network svg widgets \
buildtools_build qmake_build
USE_GL= gl