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>
This commit is contained in:
unwox 2023-05-02 12:49:34 +06:00 committed by Jonathan Brielmaier
parent 7d4b512589
commit ecb36cc427
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -83,7 +83,8 @@ (define-public rlottie
`(#:configure-flags
(list
"-Dlog=true"
"-Dtest=true")))
"-Dtest=true"
"-Dcpp_std=gnu++17")))
(native-inputs
(list googletest pkg-config))
(synopsis "Lottie Animation Library")