diff options
| author | Zheng Junjie <z572@z572.online> | 2025-07-19 17:45:02 +0800 |
|---|---|---|
| committer | Zheng Junjie <z572@z572.online> | 2025-07-19 18:09:48 +0800 |
| commit | 0bae6e35861e8a8d7d4ab90bdcadcf03ad9734fc (patch) | |
| tree | 4e687c79185ee2b4612e8e4910ed158c57e14e1f /gnu/packages/databases.scm | |
| parent | 30cc04367fc57cd43e97e42b984d083f1b4fb041 (diff) | |
gnu: recutils: Fix build with GCC 14.
Fixes: guix/guix#1353.
* gnu/packages/databases.scm (recutils)[arguments]<#:configure-flags>:
Add -Wno-error=implicit-function-declaration and
-Wno-error=incompatible-pointer-types.
Change-Id: Id9169dec7fc02c181125986960a9d6be657c8517
Diffstat (limited to 'gnu/packages/databases.scm')
| -rw-r--r-- | gnu/packages/databases.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index a376addbfb2..2e2fe25221e 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1910,7 +1910,11 @@ organized in a hash table or B+ tree.") #~(list "--disable-static" (string-append "--with-bash-headers=" (search-input-directory %build-inputs - "include/bash"))) + "include/bash")) + ;; Add CFLAGS to relax gcc-14's strictness. + (string-append "CFLAGS=-g -O2" + " -Wno-error=implicit-function-declaration" + " -Wno-error=incompatible-pointer-types")) #:phases #~(modify-phases %standard-phases (add-after 'install 'symlink-bash-loadables |
