mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
committed by
Alexis Ballier
parent
c4b55af209
commit
94d0465a43
@@ -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)"
|
||||
|
||||
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user