From ecb36cc4270c130cbc220cfe7928073ad3901212 Mon Sep 17 00:00:00 2001 From: unwox Date: Tue, 2 May 2023 12:49:34 +0600 Subject: gnu: rlottie: Fix building with GCC. std::numeric_limits requires "#include " 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 --- 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") -- cgit 1.4.1