diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-01-04 11:27:46 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:24 +0200 |
commit | bb6309622cb56e80a6eac978a2a977996dbef1c9 (patch) | |
tree | e26b48b76aba6c3ef1011b0727e7f01a429901f0 | |
parent | 5c8bd1d8372377494f7d83e1df1c482c200377bf (diff) |
gnu: r-fast: Fix build with gcc-14.
* gnu/packages/cran.scm (r-rfast)[arguments]: New field to relax gcc-14's
strictness.
Change-Id: I11fc6f40dbb6bc37831a0e7d647bc6dae10a6af0
-rw-r--r-- | gnu/packages/cran.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 4a172f6f44..6b81eb2937 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -47969,6 +47969,14 @@ aggregation for comparing different implementations in order to provide a "1fhjvabxq1r9zbkch36f5x0xf844a1z8l9njvyac5i9bxlmj9fzi")))) (properties `((upstream-name . "Rfast"))) (build-system r-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'install 'relax-gcc-14-strictness + (lambda _ + (substitute* "src/Makevars" + (("PKG_CXXFLAGS =" all) + (string-append all " -Wno-error=changes-meaning")))))))) (propagated-inputs (list r-rcpp r-rcpparmadillo r-rcppparallel r-zigg)) (home-page "https://github.com/RfastOfficial/Rfast") |