mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
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
This commit is contained in:
parent
08cfa507d1
commit
6d5255de95
1 changed files with 6 additions and 0 deletions
|
|
@ -79,6 +79,7 @@
|
|||
;;; Copyright © 2025 Simon Streit <simon@netpanic.org>
|
||||
;;; Copyright © 2025 Luca Kredel <luca.kredel@web.de>
|
||||
;;; Copyright © 2025 ROCKTAKEY <rocktakey@gmail.com>
|
||||
;;; Copyright © 2026 Andreas Enge <andreas@enge.fr>
|
||||
;;;
|
||||
;;; 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"))))))))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue