media-video/avidemux: Fix building with GCC-5

Force -std=c++14 since the build uses a header with 'nullptr' which is invalid in GCC-5's default -std=c++98 dialect.

Package-Manager: Portage-2.3.10, Repoman-2.3.3
This commit is contained in:
Peter Levine
2017-10-01 19:56:04 -04:00
committed by Alexis Ballier
parent c4b55af209
commit 94d0465a43
2 changed files with 8 additions and 0 deletions

View File

@@ -81,6 +81,10 @@ src_configure() {
# See bug 432322.
use x86 && replace-flags -O0 -O1
# The build relies on an avidemux-core header that uses 'nullptr'
# which is from >=C++11. Let's use the GCC-6 default C++ dialect.
append-cxxflags -std=c++14
local mycmakeargs=(
-DAVIDEMUX_SOURCE_DIR='${S}'
-DGETTEXT="$(usex nls)"

View File

@@ -81,6 +81,10 @@ src_configure() {
# See bug 432322.
use x86 && replace-flags -O0 -O1
# The build relies on an avidemux-core header that uses 'nullptr'
# which is from >=C++11. Let's use the GCC-6 default C++ dialect.
append-cxxflags -std=c++14
local mycmakeargs=(
-DAVIDEMUX_SOURCE_DIR='${S}'
-DGETTEXT="$(usex nls)"