1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-30 05:51:19 +02:00

gnu: libmp4v2: Build with '-std=c++03'.

* gnu/packages/video.scm (libmp4v2)[arguments]: Add #:configure-flags.
This commit is contained in:
Ludovic Courtès
2021-11-20 23:08:43 +01:00
parent 27ceda472a
commit b2bfedcdb3

View File

@@ -3977,7 +3977,10 @@ post-processing of video formats like MPEG2, H.264/AVC, and VC-1.")
(outputs '("out"
"static")) ; 3.7MiB .a file
(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
(add-after 'unpack 'remove-dates
(lambda _