From b2bfedcdb30e31617e7d683fd81a1715ff0712a7 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 20 Nov 2021 23:08:43 +0100 Subject: 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(-) (limited to 'gnu') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index c8c1790e73..e98e7ceeb8 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 _ -- cgit 1.4.1