1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: python-html5-parser: Fix build.

* gnu/packages/python-web.scm (python-html5-parser):
[arguments]<#:phases>{set-configure-flags}: New phase to set
`-Wno-error=implicit-function-declaration` flag.

Change-Id: I21f8f785c55c8cedf6669c221290e40e83447351
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Ada Stevenson
2025-09-29 14:47:31 +08:00
committed by Maxim Cournoyer
parent 7df4eacd0f
commit 7e704db3ea

View File

@@ -3530,6 +3530,14 @@ and written in Python.")
(base32
"195wgxls3df7djry9cz3p2k9644l6bfd66fczbaw55fsq0c48agr"))))
(build-system python-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'set-configure-flags
(lambda _
(setenv "CFLAGS"
"-Wno-error=implicit-function-declaration"))))))
(native-inputs
(list pkg-config))
(inputs