gnu: python-datrie: Fix build with gcc-14.

* gnu/packages/python-xyz.scm (python-datrie)[arguments]: New field to relax
gcc-14's strictness.

Change-Id: I44185ba3da9f57326179bd44394d5508da6dd62d
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-03 15:02:47 +01:00
parent 662b8ef765
commit f7e3e00577
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -14059,6 +14059,15 @@ (define-public python-datrie
(base32
"0pbn32flkrpjiwfcknmj6398qa81ba783kbcvwan3kym73v0hnsj"))))
(build-system python-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'setup-build-environment
(lambda _
(setenv "CFLAGS"
(string-append "-g -O2"
" -Wno-error=incompatible-pointer-types")))))))
(native-inputs
(list python-cython python-hypothesis python-pytest
python-pytest-runner))