mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
bash-minimal: Use gcc-14 hurd/x86-linux build fix for all platforms.
* gnu/packages/bash.scm (bash-minimal)[arguments]: Unconditionally add CFLAGS to #:configure-flags to relax gcc-14's strictness. Change-Id: Ifd502adf8c53aa960c02a50bc5bd498bfb9858f6
This commit is contained in:
parent
e008a0c6e6
commit
f94ec58731
1 changed files with 2 additions and 10 deletions
|
@ -254,7 +254,8 @@ (define-public bash-minimal
|
|||
(srfi srfi-1)
|
||||
(srfi srfi-26)))
|
||||
((#:configure-flags flags '())
|
||||
`(list "--without-bash-malloc"
|
||||
`(list "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration"
|
||||
"--without-bash-malloc"
|
||||
"--disable-readline"
|
||||
"--disable-history"
|
||||
"--disable-help-builtin"
|
||||
|
@ -266,15 +267,6 @@ (define-public bash-minimal
|
|||
;; modules and related code.
|
||||
"ac_cv_func_dlopen=no"
|
||||
|
||||
,@(if (or (target-hurd64?)
|
||||
(%current-target-system)
|
||||
(and (target-x86?) (target-linux?)))
|
||||
;; gcc-14 implictly uses -Wimplicit-function-declaration
|
||||
;; which together with -Werror causes:
|
||||
;; ./enable.def:492:11: error: implicit declaration of function ‘dlclose’;
|
||||
'("CFLAGS=-g -O2 -Wno-error=implicit-function-declaration")
|
||||
'())
|
||||
|
||||
,@(if (%current-target-system)
|
||||
'("bash_cv_job_control_missing=no"
|
||||
"bash_cv_getcwd_malloc=yes")
|
||||
|
|
Loading…
Reference in a new issue