[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: rlottie: Fix building with GCC.
From: |
guix-commits |
Subject: |
branch master updated: gnu: rlottie: Fix building with GCC. |
Date: |
Tue, 02 May 2023 16:32:12 -0400 |
This is an automated email from the git hooks/post-receive script.
jonsger pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new ecb36cc427 gnu: rlottie: Fix building with GCC.
ecb36cc427 is described below
commit ecb36cc4270c130cbc220cfe7928073ad3901212
Author: unwox <me@unwox.com>
AuthorDate: Tue May 2 12:49:34 2023 +0600
gnu: rlottie: Fix building with GCC.
std::numeric_limits requires "#include <limits>" when building with
cpp_std=c++14. This patch fixes the issue by specifying gnu++17 as
a stdlib.
* gnu/packages/animation.scm (rlottie)[arguments]: Specify -Dcpp_std option.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
---
gnu/packages/animation.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/animation.scm b/gnu/packages/animation.scm
index 4c03b78717..b0bf2c672b 100644
--- a/gnu/packages/animation.scm
+++ b/gnu/packages/animation.scm
@@ -83,7 +83,8 @@
`(#:configure-flags
(list
"-Dlog=true"
- "-Dtest=true")))
+ "-Dtest=true"
+ "-Dcpp_std=gnu++17")))
(native-inputs
(list googletest pkg-config))
(synopsis "Lottie Animation Library")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: rlottie: Fix building with GCC.,
guix-commits <=