summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-11-20 23:08:43 +0100
committerLudovic Courtès <ludo@gnu.org>2021-11-20 23:11:45 +0100
commitb2bfedcdb30e31617e7d683fd81a1715ff0712a7 (patch)
tree907152ee7aa35a850fe54c1f7801bad0a5298d1d /gnu
parent27ceda472a187c39e03c4b0d0deea57786ab7e1b (diff)
downloadguix-b2bfedcdb30e31617e7d683fd81a1715ff0712a7.tar.gz
gnu: libmp4v2: Build with '-std=c++03'.
* gnu/packages/video.scm (libmp4v2)[arguments]: Add #:configure-flags.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/video.scm5
1 files changed, 4 insertions, 1 deletions
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 _