mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: inferno: Fix gcc 14 build.
Adds: -Wno-error=implicit-function-declaration and -Wno-error=incompatible-pointer-types to CFLAGS. * gnu/packages/inferno.scm (inferno)[arguments]: Fix ’patch-src-files #:phase. Merges guix/guix!7209 Change-Id: I5d6bb826ca57d96a26dc726bd842dc6316a29fdf Signed-off-by: Cayetano Santos <csantosb@inventati.org> Modified-by: Cayetano Santos <csantosb@inventati.org>
This commit is contained in:
@@ -113,7 +113,11 @@
|
|||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(substitute* file
|
(substitute* file
|
||||||
(("^CFLAGS=")
|
(("^CFLAGS=")
|
||||||
"CFLAGS=-D_GNU_SOURCE -fcommon")))
|
(string-append
|
||||||
|
"CFLAGS=-D_GNU_SOURCE"
|
||||||
|
" -Wno-error=implicit-function-declaration"
|
||||||
|
" -Wno-error=incompatible-pointer-types"
|
||||||
|
" -fcommon"))))
|
||||||
'("mkfiles/mkfile-Linux-386"
|
'("mkfiles/mkfile-Linux-386"
|
||||||
"mkfiles/mkfile-Linux-arm"
|
"mkfiles/mkfile-Linux-arm"
|
||||||
"mkfiles/mkfile-Linux-power"
|
"mkfiles/mkfile-Linux-power"
|
||||||
|
|||||||
Reference in New Issue
Block a user