mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: libdbi-drivers: Fix build with gcc-14.
* gnu/packages/databases.scm (libdbi-drivers)[arguments]<#:phases>{'gcc14}: New phase setting CFLAGS. Change-Id: Ie22be2183476c75b9e26d53af232191e5e0b8f4c
This commit is contained in:
parent
84bc6d4d36
commit
b219249717
1 changed files with 9 additions and 0 deletions
|
@ -5820,6 +5820,15 @@ simultaneous database connections by using this framework.")
|
|||
#:tests? #f ; FIXME: Find why the tests get stuck forever.
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'gcc14
|
||||
(lambda _
|
||||
(setenv "CFLAGS"
|
||||
(string-append
|
||||
"-g -O2 "
|
||||
"-Wno-error=int-conversion "
|
||||
"-Wno-error=incompatible-pointer-types "
|
||||
"-Wno-error=implicit-function-declaration"))))
|
||||
|
||||
(add-after 'unpack 'fix-tests
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "tests/test_mysql.sh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue