This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 6d5255de95 gnu: lrzsz: Fix build.
6d5255de95 is described below
commit 6d5255de95c941d59b27d8d7477eba729ae850c2
Author: Andreas Enge <[email protected]>
AuthorDate: Fri Jan 23 21:28:59 2026 +0100
gnu: lrzsz: Fix build.
* gnu/packages/admin.scm (lrzsz)[arguments]<#:phases>{configure}:
Set CFLAGS to stop turning warnings into errors.
Fixes: guix/guix#5854
Change-Id: I0f74e8e4a81e4509c5fb69759511819e68ba31e3
---
gnu/packages/admin.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index c4c6c7e926..f3cb3a42eb 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -79,6 +79,7 @@
;;; Copyright © 2025 Simon Streit <[email protected]>
;;; Copyright © 2025 Luca Kredel <[email protected]>
;;; Copyright © 2025 ROCKTAKEY <[email protected]>
+;;; Copyright © 2026 Andreas Enge <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5847,6 +5848,11 @@ This program allows you to view and manipulate this
EEPROM list.")
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(setenv "CONFIG_SHELL" (which "bash"))
+ (setenv "CFLAGS"
+ (string-append "-g -O2 "
+ "-Wno-error=implicit-int "
+ "-Wno-error=implicit-function-declaration "
+ "-Wno-error=incompatible-pointer-types"))
(invoke "./configure"
(string-append "--prefix="
(assoc-ref outputs "out"))))))))