This is an automated email from the git hooks/post-receive script.
janneke pushed a commit to branch core-packages-team
in repository guix.
The following commit(s) were added to refs/heads/core-packages-team by this
push:
new 25dcd2c8dd gnu: r: Fix build with gcc-14.
25dcd2c8dd is described below
commit 25dcd2c8dd73f5389ffc6b80779f1b3c795e1355
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Fri Jan 3 10:34:02 2025 +0100
gnu: r: Fix build with gcc-14.
* gnu/packages/statistics.scm (r-with-tests)[arguments]: Add CFLAGS to
#:make-flags
to relax gcc-14's strictness.
Change-Id: I2b96d4da099572d2c356b99ccbc0e5b86f8ef136
---
gnu/packages/statistics.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 4e317f7517..f13d6ad843 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2024 Vinicius Monego <[email protected]>
;;; Copyright © 2024 Nicolas Graves <[email protected]>
;;; Copyright © 2024 Sharlatan Hellseher <[email protected]>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -245,7 +246,9 @@ This package also provides @command{xls2csv} to export
Excel files to CSV.")
(list
#:disallowed-references `(,tzdata-for-tests)
#:make-flags
- #~(list (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib/R/lib")
+ #~(list (string-append "CFLAGS=-g -O2"
+ " -Wno-error=implicit-function-declaration")
+ (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib/R/lib")
;; This affects the embedded timestamp of only the core packages.
"PKG_BUILT_STAMP=1970-01-01")
#:phases