mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
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:
parent
3856eeea6c
commit
089f1120b8
1 changed files with 10 additions and 1 deletions
|
@ -144,7 +144,7 @@
|
|||
;;; Copyright © 2023 Parnikkapore <poomklao@yahoo.com>
|
||||
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
|
||||
;;; Copyright © c4droid <c4droid@foxmail.com>
|
||||
;;; Copyright © 2023, 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2023, 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2023 Attila Lendvai <attila@lendvai.name>
|
||||
;;; Copyright © 2023, 2024 Troy Figiel <troy@troyfigiel.com>
|
||||
;;; Copyright © 2023 Adam Faiz <adam.faiz@disroot.org>
|
||||
|
@ -14072,6 +14072,15 @@ (define-public python-datrie
|
|||
(base32
|
||||
"0pbn32flkrpjiwfcknmj6398qa81ba783kbcvwan3kym73v0hnsj"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'relax-gcc-14-strictness
|
||||
(lambda _
|
||||
(setenv "CFLAGS"
|
||||
(string-append "-g -O2"
|
||||
" -Wno-error=incompatible-pointer-types")))))))
|
||||
(native-inputs
|
||||
(list python-cython python-hypothesis python-pytest
|
||||
python-pytest-runner))
|
||||
|
|
Loading…
Reference in a new issue