summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2025-07-30 22:26:46 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-31 23:09:52 +0100
commit9122274303ee68485cf062b55f562ef9cab66927 (patch)
tree93f5c286e8b20f5543dfa96b79d7fd863611a479
parent823010478c4253f32c0b4d979881dbc6d7d08179 (diff)
gnu: perl-pdl-2.019: Fix build.
* gnu/packages/perl-maths.scm (perl-pdl-2.019)[arguments]<#:make-maker-flags>: Add "-Wno-error=implicit-function-declaration". Change-Id: I80c7be7b5b09c65c9c0fd3b3973e2ae13dc53546 Change-Id: I2f60584c8d4d33411ba04e5333462e4d15643f6f Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/perl-maths.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/perl-maths.scm b/gnu/packages/perl-maths.scm
index 71e1e819c1..5acf2e2fef 100644
--- a/gnu/packages/perl-maths.scm
+++ b/gnu/packages/perl-maths.scm
@@ -125,7 +125,10 @@ using a list of (X, Y) pairs.")
(search-patches "pdl-2.019-glut-bitmap-fonts.patch"))))
(build-system perl-build-system)
(arguments
- `(#:phases
+ `(#:make-maker-flags
+ ;; This is required because of "gsl_set_error_handler_off".
+ `("OPTIMIZE=-O2 -Wno-error=implicit-function-declaration")
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-includes
(lambda* (#:key inputs #:allow-other-keys)