civodul pushed a commit to branch core-updates-frozen
in repository guix.
commit b2bfedcdb30e31617e7d683fd81a1715ff0712a7
Author: Ludovic Courtès <[email protected]>
AuthorDate: Sat Nov 20 23:08:43 2021 +0100
gnu: libmp4v2: Build with '-std=c++03'.
* gnu/packages/video.scm (libmp4v2)[arguments]: Add #:configure-flags.
---
gnu/packages/video.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index c8c1790..e98e7ce 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -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 _