aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2023-05-02 12:49:34 +0600
committerJonathan Brielmaier <jonathan.brielmaier@web.de>2023-05-02 22:28:22 +0200
commitecb36cc4270c130cbc220cfe7928073ad3901212 (patch)
treee76ccc9755647b0f60ca792fdd1cb91b5c41712b /gnu
parent7d4b512589871cfe40353c6dd4d09879ca2aea91 (diff)
downloadguix-ecb36cc4270c130cbc220cfe7928073ad3901212.tar
guix-ecb36cc4270c130cbc220cfe7928073ad3901212.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/animation.scm3
1 files changed, 2 insertions, 1 deletions
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")