diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-11-20 23:08:43 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-11-20 23:11:45 +0100 |
commit | b2bfedcdb30e31617e7d683fd81a1715ff0712a7 (patch) | |
tree | 907152ee7aa35a850fe54c1f7801bad0a5298d1d | |
parent | 27ceda472a187c39e03c4b0d0deea57786ab7e1b (diff) | |
download | guix-b2bfedcdb30e31617e7d683fd81a1715ff0712a7.tar.gz guix-b2bfedcdb30e31617e7d683fd81a1715ff0712a7.zip |
gnu: libmp4v2: Build with '-std=c++03'.
* gnu/packages/video.scm (libmp4v2)[arguments]: Add #:configure-flags.
-rw-r--r-- | gnu/packages/video.scm | 5 |
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 _ |