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

gnu: stddoc: Fix build.

* gnu/packages/documentation.scm (stddoc)[arguments]
<#:phases>: Fix 'build phase with an additional flag.

Change-Id: Icdf1246cc97bf39132b002f02ebd381d375c0ed0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2025-12-21 19:59:23 +01:00
committed by Sharlatan Hellseher
parent 40a038a465
commit 16dd4a36ea

View File

@@ -581,7 +581,10 @@ calendars, equations, and other features as extensions of Markdown syntax.")
(replace 'build
(lambda _
(invoke #$(cc-for-target)
"-O2" "-g" "-o" "stddoc" "stddoc.c")
"-O2" "-g"
;; XXX: Relax gcc 14 strictness.
"-Wno-int-conversion"
"-o" "stddoc" "stddoc.c")
(with-input-from-file "stddoc.c"
(lambda _
(with-output-to-file "stddoc.c.html"