mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
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
This commit is contained in:
parent
0dff3a12c1
commit
7e0fbcc6c7
1 changed files with 4 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
|||
;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
|
||||
;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
|
||||
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
|
||||
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -245,7 +246,9 @@ (define r-with-tests
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue