Fix build on gcc-based architectures:

cc1plus: error: unrecognized command line option "-std=c++0x"

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2019-03-12 04:50:28 +00:00
parent f865ed3515
commit e021dea053
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495430

View File

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_program_options.so:devel/boost-libs LIB_DEPENDS= libboost_program_options.so:devel/boost-libs
USES= qmake desktop-file-utils qt:5 USES= compiler:c++11-lang desktop-file-utils qmake qt:5
USE_QT= core gui widgets dbus buildtools_build USE_QT= core gui widgets dbus buildtools_build
LDFLAGS+= -Wl,--as-needed # prevents stray USE_GL=gl, see bug#224488 LDFLAGS+= -Wl,--as-needed # prevents stray USE_GL=gl, see bug#224488