gnu: libmp4v2: Build with '-std=c++03'.
* gnu/packages/video.scm (libmp4v2)[arguments]: Add #:configure-flags.
This commit is contained in:
parent
27ceda472a
commit
b2bfedcdb3
1 changed files with 4 additions and 1 deletions
|
@ -3977,7 +3977,10 @@ post-processing of video formats like MPEG2, H.264/AVC, and VC-1.")
|
||||||
(outputs '("out"
|
(outputs '("out"
|
||||||
"static")) ; 3.7MiB .a file
|
"static")) ; 3.7MiB .a file
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(;; Build as C++2003 to avoid C++11 "narrowing conversion" errors.
|
||||||
|
#:configure-flags '("CXXFLAGS=-O2 -g -std=c++03")
|
||||||
|
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'remove-dates
|
(add-after 'unpack 'remove-dates
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Reference in a new issue