diff options
| author | Andreas Enge <andreas@enge.fr> | 2025-07-22 11:26:08 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-22 11:26:08 +0200 |
| commit | b219249717c775c9bc5eb279147e691fea26c549 (patch) | |
| tree | 55936b64723d2575a6e73f9fcb2a156ad08db8db /gnu/packages/databases.scm | |
| parent | 84bc6d4d36a0c33f48573986f6202eb6ea241248 (diff) | |
gnu: libdbi-drivers: Fix build with gcc-14.
* gnu/packages/databases.scm (libdbi-drivers)[arguments]<#:phases>{'gcc14}:
New phase setting CFLAGS.
Change-Id: Ie22be2183476c75b9e26d53af232191e5e0b8f4c
Diffstat (limited to 'gnu/packages/databases.scm')
| -rw-r--r-- | gnu/packages/databases.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 51b2224ad90..5deb363095a 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -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" |
