diff options
-rw-r--r-- | gnu/packages/image.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 754c99a823..37d01eb731 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -1688,8 +1688,9 @@ is hereby granted.")))) (list #:configure-flags #~'("-DCMAKE_INSTALL_LIBDIR:PATH=lib" "-DENABLE_STATIC=0" - ;; djpeg-shared-3x2-float-prog-cmp fails on 32-bit PPC. - #$@(if (string=? "powerpc-linux" (%current-system)) + ;; djpeg-shared-3x2-float-prog-cmp fails on some systems. + #$@(if (or (target-ppc32?) + (target-riscv64?)) '("-DFLOATTEST=NO") '()) ;; The build system probes for the current CPU, but |