mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: fastboot: Fix build.
* gnu/packages/android.scm (fastboot)[arguments]<#:phases>: Add 'relax-gcc-14-strictness to set CXXFLAGS. Change-Id: Ie74aad16d308e6c2a5914597e779259c8a2cd6f9
This commit is contained in:
parent
5fa5902e9e
commit
695a2e024d
1 changed files with 7 additions and 0 deletions
|
@ -698,6 +698,13 @@ file system.")
|
|||
(("libext4_utils_host") "libext4_utils_host libselinux libpcre")
|
||||
(("\\$\\(shell git .*\\)") ,version))
|
||||
#t))
|
||||
(add-after 'patch-source 'relax-gcc-14-strictness
|
||||
(lambda _
|
||||
(setenv
|
||||
"CXXFLAGS"
|
||||
(string-append "-g -O2"
|
||||
" -Wno-error=calloc-transposed-args"
|
||||
" -Wno-error=format-truncation"))))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue