janneke pushed a commit to branch core-packages-team
in repository guix.
commit 3a59012970072b276f9712601411469c9dd25c7d
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 ba897fbb0d..ab8b03f894 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2024 Nicolas Graves <[email protected]>
;;; Copyright © 2024-2025 Sharlatan Hellseher <[email protected]>
;;; Copyright © 2025 Jonas Freimuth <[email protected]>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -247,7 +248,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