guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 06/06: gnu: libmp4v2: Build with '-std=c++03'.
Date: Sat, 20 Nov 2021 17:13:10 -0500 (EST)

civodul pushed a commit to branch core-updates-frozen
in repository guix.

commit b2bfedcdb30e31617e7d683fd81a1715ff0712a7
Author: Ludovic Courtès <ludo@gnu.org>
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 _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]