mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: guile-emacs: Fix build with gcc-14.
* gnu/packages/guile.scm (guile-for-guile-emacs)[arguments]: Replace emacs-minimal's CFLAGS in #:configure-flags with specific and extra flags to relax gcc-14's strictness. Change-Id: I6b3f871695eb25fbf84a2334525e1d0e15e36b92
This commit is contained in:
parent
3755088384
commit
58b6dc4d55
1 changed files with 11 additions and 4 deletions
|
@ -744,7 +744,12 @@ Started in 2014 as a GSOC project, Guile-Emacs was resurrected in 2024.")
|
|||
(substitute-keyword-arguments `(#:strip-binaries? #f
|
||||
,@(package-arguments emacs))
|
||||
((#:configure-flags flags ''())
|
||||
#~`("CFLAGS=-Og -ggdb3"
|
||||
#~`(#$(string-append "CFLAGS=-Og -ggdb3"
|
||||
" -Wno-error=implicit-function-declaration"
|
||||
" -Wno-error=implicit-int"
|
||||
" -Wno-error=incompatible-pointer-types"
|
||||
" -Wno-error=int-conversion"
|
||||
" -Wno-error=shift-count-negative")
|
||||
"--with-native-compilation=no"
|
||||
"--without-modules"
|
||||
"--without-threads"
|
||||
|
@ -752,9 +757,11 @@ Started in 2014 as a GSOC project, Guile-Emacs was resurrected in 2024.")
|
|||
"--without-cairo"
|
||||
"--without-tree-sitter"
|
||||
"--with-imagemagick"
|
||||
,@(fold delete #$flags '("--with-cairo"
|
||||
"--with-modules"
|
||||
"--with-native-compilation=aot"))))
|
||||
,@(fold delete #$flags
|
||||
'("CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types"
|
||||
"--with-cairo"
|
||||
"--with-modules"
|
||||
"--with-native-compilation=aot"))))
|
||||
((#:make-flags flags #~'())
|
||||
#~(list "V=1"))
|
||||
((#:phases phases)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue