diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-01-03 10:34:02 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:22 +0200 |
commit | 82cc58199539d27927708c773c315b75aab7aef6 (patch) | |
tree | 7d0df8602615d0612d58d1c49b3e119131f9cfe5 | |
parent | 035bc12055a468be070a611f76e5e518afc3327f (diff) |
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
-rw-r--r-- | gnu/packages/statistics.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 0df89bf32e..a8cfd9104a 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr> ;;; Copyright © 2024-2025 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2025 Jonas Freimuth <jonas.freimuth@posteo.de> +;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; ;;; 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 |