diff options
author | unwox <me@unwox.com> | 2023-05-02 12:49:34 +0600 |
---|---|---|
committer | Jonathan Brielmaier <jonathan.brielmaier@web.de> | 2023-05-02 22:28:22 +0200 |
commit | ecb36cc4270c130cbc220cfe7928073ad3901212 (patch) | |
tree | e76ccc9755647b0f60ca792fdd1cb91b5c41712b /gnu/packages/animation.scm | |
parent | 7d4b512589871cfe40353c6dd4d09879ca2aea91 (diff) |
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/packages/animation.scm')
-rw-r--r-- | gnu/packages/animation.scm | 3 |
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") |